annotate main.c @ 12:1461ed1901cc

update to common ancestor (VirtProcr to SlaveVP) and updated include paths
author Some Random Person <seanhalle@yahoo.com>
date Fri, 09 Mar 2012 22:21:26 -0800
parents 387f3084d9bb
children 5671f96e0b5f
rev   line source
Me@10 1 /*
Me@10 2 * Copyright Oct 24, 2009 OpenSourceStewardshipFoundation.org
Me@10 3 * Licensed under GNU General Public License version 2
Me@10 4 *
Me@10 5 * author seanhalle@yahoo.com
Me@10 6 */
Me@10 7
Me@10 8 #include <malloc.h>
Me@10 9 #include <stdlib.h>
Me@10 10
Me@10 11 #include "Matrix_Mult.h"
Me@10 12 #include "SSR_Matrix_Mult/SSR_Matrix_Mult.h"
Me@10 13
seanhalle@12 14 char __ProgramName[] = "Blocked Matrix Multiply";
Me@10 15 char __DataSet[255];
Me@10 16 /**
Me@10 17 *
Me@10 18 */
Me@10 19 int main( int argc, char **argv )
Me@10 20 { Matrix *leftMatrix, *rightMatrix, *resultMatrix;
Me@10 21 ParamBag *paramBag;
Me@10 22
Me@10 23 printf( "arguments: %s | %s\n", argv[0], argv[1] );
Me@10 24
Me@10 25 paramBag = makeParamBag();
Me@10 26 readParamFileIntoBag( argv[1], paramBag );
Me@10 27 initialize_Input_Matrices_Via( &leftMatrix, &rightMatrix, paramBag );
Me@10 28
Me@10 29 resultMatrix = multiplyTheseMatrices( leftMatrix, rightMatrix );
Me@10 30
Me@10 31 printf("\nresult matrix: \n");
Me@10 32 printMatrix( resultMatrix );
Me@10 33 // SSR__print_stats();
Me@10 34 fflush(stdin);
Me@10 35
Me@10 36 exit(0); //cleans up
Me@10 37 }