// // This file is part of the Bones source-to-source compiler examples. This C-code // example is meant to illustrate the use of Bones. For more information on Bones // use the contact information below. // // == More information on Bones // Contact............Cedric Nugteren // Web address........http://parse.ele.tue.nl/bones/ // // == File information // Filename...........fusion/example01.c // Author.............Cedric Nugteren // Last modified on...11-October-2014 // #include #define N 512 #define M 2048 // This is 'example01', a basic example of an opportunity for scalar kernel fusion. int main(void) { int i,j; // Declare input/output arrays int A[N][M]; int B[N][M]; int C[N][M]; // Set the input data for(i=0;i B[0:N-1,0:M-1]|element for(i=0;i C[0:N-1,0:M-1]|element for(i=0;i