examples/dependences/example05.c in bones-compiler-1.3.1 vs examples/dependences/example05.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/example05.c // Author.............Cedric Nugteren -// Last modified on...07-May-2013 +// Last modified on...11-October-2014 // #include <stdio.h> // This is 'example05', a 2D example WITH dependences. @@ -29,12 +29,14 @@ D[i][j] = i*j+3; } } // Perform the computation + #pragma scop for (i=0; i<N; i++) { // Read-write dependence D[2*i+6][2*i+6] = D[8*i+1][3*i+1]; } + #pragma endscop // Clean-up and exit the function fflush(stdout); return 0; }