examples/neighbourhood/example05.c in bones-compiler-1.3.1 vs examples/neighbourhood/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...........neighbourhood/example05.c // Author.............Cedric Nugteren -// Last modified on...07-May-2013 +// Last modified on...10-October-2014 // #include <stdio.h> // This is 'example05', an unrolled one-sided neighbourhood @@ -29,14 +29,16 @@ A[i] = i; B[i] = i+5; } // Perform the computation + #pragma scop #pragma species kernel A[2:N]|neighbourhood(0:1) -> B[2:N-1]|element for (i=2; i<N; i++) { B[i] = A[i] + A[i+1]; } #pragma species endkernel example05 + #pragma endscop // Clean-up and exit the function fflush(stdout); return 0; }