// // 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...04-Jul-2012 // #include "common.h" // This is 'saxpy', a scalar multiplication and vector addition kernel int main(void) { int i; // Declare arrays on the stack float x[LARGE_N]; float y[LARGE_N]; // Set the input data for (i=0; i 0:LARGE_N-1|element for (i=0; i