working on aobench

This commit is contained in:
Evghenii
2013-11-10 14:29:53 +01:00
parent 17809992d7
commit 66edc180be
4 changed files with 780 additions and 0 deletions

View File

@@ -40,6 +40,16 @@
typedef float<3> vec;
#ifdef __NVPTX__
#warning "emitting DEVICE code"
#define programCount warpSize()
#define programIndex laneIndex()
#define taskIndex blockIndex0()
#define taskCount blockCount0()
#else
#warning "emitting HOST code"
#endif
struct Isect {
float t;
vec p;