examples/dependences/example01.c in bones-compiler-1.3.1 vs examples/dependences/example01.c in bones-compiler-1.6.0

- old
+ new

@@ -8,11 +8,11 @@ // Web address........http://parse.ele.tue.nl/bones/ // // == File information // Filename...........dependences/example01.c // Author.............Cedric Nugteren -// Last modified on...07-May-2013 +// Last modified on...11-October-2014 // #include <stdio.h> // This is 'example01', an element -> element example WITHOUT dependences. @@ -27,14 +27,16 @@ for(i=0;i<N;i++) { A[i] = i; } // Perform the computation + #pragma scop #pragma species kernel A[1:8*N-7]|element -> A[6:2*N+4]|element for (i=0; i<N; i++) { // No dependence A[2*i+6] = A[8*i+1]; } #pragma species endkernel example01 + #pragma endscop // Clean-up and exit the function fflush(stdout); return 0; }