// // This file is part of the Bones source-to-source compiler examples. For more // information on Bones please use the contact information below. // // == More information on Bones // Contact............Cedric Nugteren // Web address........http://parse.ele.tue.nl/bones/ // // == File information // Filename...........benchmark/mm.c // Author.............Cedric Nugteren // Last modified on...08-Jul-2013 // #include #include #define N 512 // This is 'mm', a matrix multiplication kernel int main(void) { int i,j,k; // Declare arrays on the stack float A[N][N]; float B[N][N]; float C[N][N]; // Set the input data for (i=0; i 0:N-1,0:N-1|element for (i=0; i