// // 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...........chunk/example2.c // Author.............Cedric Nugteren // Last modified on...16-April-2012 // #include #define SIZE 2048 #define HALFSIZE (SIZE/2) // This is 'example2', demonstrating a chunk-example without an inner-loop, everything is unrolled manually int main(void) { int i; // Declare input/output arrays float A[SIZE]; float B[HALFSIZE]; // Set the input data for(i=0;i 0:HALFSIZE-1|element for(i=0;i