examples/dependences/example03.c in bones-compiler-1.3.1 vs examples/dependences/example03.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/example03.c // Author.............Cedric Nugteren -// Last modified on...07-May-2013 +// Last modified on...11-October-2014 // #include <stdio.h> // This is 'example03', an element -> element example WITH dependences. @@ -29,13 +29,15 @@ A[i] = i; B[i] = 0; } // Perform the computation + #pragma scop for (i=2; i<N; i++) { // Write-write dependence B[i] = A[i]; B[i+1] = A[i+1]; } + #pragma endscop // Clean-up and exit the function fflush(stdout); return 0; }