comparison Matrix_Mult.h @ 3:a6b3cab179b1

Added no-measurments option for platforms without support. Added static X86, ARM and basic Kalray build support. This branch requires the longjmp versions of libprt and libvreo
author Philipe Louchtch - de Raadt
date Sat, 12 Jul 2014 20:21:47 +0200
parents c4b1849c05ef
children
comparison
equal deleted inserted replaced
0:c6f7e57f36b5 1:812c0f60ddf6
8 8
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <unistd.h> 10 #include <unistd.h>
11 #include <malloc.h> 11 #include <malloc.h>
12 12
13 #include <PR__include/PR__primitive_data_types.h>
13 #include "ParamHelper/Param.h" 14 #include "ParamHelper/Param.h"
14 15
15 //============================== Structures ============================== 16 //============================== Structures ==============================
16 17
17 typedef 18 typedef
40 Matrix * resultMatrix; 41 Matrix * resultMatrix;
41 42
42 // define the starting and ending boundaries for this piece of the 43 // define the starting and ending boundaries for this piece of the
43 // result matrix. These are derivable from the left and right 44 // result matrix. These are derivable from the left and right
44 // matrices, but included them for readability of code. 45 // matrices, but included them for readability of code.
45 int prodStartRow, prodEndRow; 46 int resStartRow, resEndRow;
46 int prodStartCol, prodEndCol; 47 int resStartCol, resEndCol;
47 // Start and end of the portion of the left matrix that contributes to 48 // Start and end of the portion of the left matrix that contributes to
48 // this piece of the product 49 // this piece of the product
49 int leftStartRow, leftEndRow; 50 int leftStartRow, leftEndRow;
50 int leftStartCol, leftEndCol; 51 int leftStartCol, leftEndCol;
51 // Start and end of the portion of the right matrix that contributes to 52 // Start and end of the portion of the right matrix that contributes to