examples/element/example10.c in bones-compiler-1.3.1 vs examples/element/example10.c in bones-compiler-1.6.0

- old
+ new

@@ -8,11 +8,11 @@ // Web address........http://parse.ele.tue.nl/bones/ // // == File information // Filename...........element/example10.c // Author.............Cedric Nugteren -// Last modified on...16-April-2012 +// Last modified on...10-October-2014 // #include <stdio.h> #include <stdlib.h> @@ -33,16 +33,18 @@ B[i][j] = 9; } } // Perform the computation - #pragma species kernel 2:N-1,1:M-1|element -> 2:N-1,1:M-1|element + #pragma scop + #pragma species kernel A[2:N-1,1:M-1]|element -> B[2:N-1,1:M-1]|element for(i=2;i<N;i++) { for(j=1;j<M;j++) { B[i][j] = A[i][j]; } } #pragma species endkernel + #pragma endscop // Clean-up and exit the function fflush(stdout); return 0; }