// // 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/dct.c // Author.............Cedric Nugteren // Last modified on...15-Jul-2013 // #include #include #define N 2048 // This is 'dct', a 2D 8x8 discrete cosine transform kernel int main(void) { int i; int x,y; int u,v; // Declare arrays on the stack float A[N*N]; float B[N*N]; // Set the input data for (i=0; i