added workable .cu files for stencil & mandelbrot

This commit is contained in:
Evghenii
2013-11-08 10:00:49 +01:00
parent cb7cbec0d5
commit 426afc7377
10 changed files with 645 additions and 160 deletions

View File

@@ -1,6 +1,6 @@
#define programCount 32
#define programIndex threadIdx.x
#define taskIndex blockIdx.x
#define programIndex (threadIdx.x & 31)
#define taskIndex (blockIdx.x*4 + (threadIdx.x >> 5))
__device__ static void
stencil_step( int x0, int x1,