comparison src/Application/main.c @ 0:e48f13e138b0

Initial add -- copy from VPThread version that works on 9x9
author Me
date Fri, 17 Sep 2010 11:39:05 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:5ef16d34b7ce
1 /*
2 * Copyright Oct 24, 2009 OpenSourceCodeStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 *
5 * author seanhalle@yahoo.com
6 */
7
8 #include <malloc.h>
9 #include <stdlib.h>
10
11 #include "Matrix_Mult.h"
12 #include "VPThread__Matrix_Mult/VPThread__Matrix_Mult.h"
13
14 /**
15 *Matrix multiply program written using VMS_HW piggy-back language
16 *
17 */
18 int main( int argc, char **argv )
19 { Matrix *leftMatrix, *rightMatrix, *resultMatrix;
20 ParamBag *paramBag;
21
22 paramBag = makeParamBag();
23 readParamFileIntoBag( argv[1], paramBag );
24 initialize_Input_Matrices_Via( &leftMatrix, &rightMatrix, paramBag );
25
26 resultMatrix = multiplyTheseMatrices( leftMatrix, rightMatrix );
27
28 printf("\nresult matrix: \n");
29
30 // printMatrix( resultMatrix );
31
32 // VPThread__print_stats();
33
34 exit(0); //cleans up
35 }