// // 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/saxpy.c // Author.............Cedric Nugteren // Last modified on...09-Aug-2012 // #include #include #define N 2048*2048 // This is 'saxpy', a scalar multiplication and vector addition kernel int main(void) { int i; // Declare arrays on the stack float x[N]; float y[N]; // Set the input data for (i=0; i 0:N-1|element for (i=0; i