patch for stencil example

This commit is contained in:
Evghenii
2014-01-13 08:50:21 +01:00
parent 8190869714
commit 8f17468fa3
3 changed files with 11 additions and 5 deletions

View File

@@ -100,9 +100,15 @@ stencil_step(uniform int x0, uniform int x1,
}
}
#ifdef __NVPTX__
#define SPANX 32
#define SPANY 2
#define SPANZ 4
#define SPANY 4
#define SPANZ 8
#else
#define SPANX 64
#define SPANY 4
#define SPANZ 8
#endif
static task void
stencil_step_task(uniform int x0, uniform int x1,