This commit is contained in:
Evghenii
2013-11-14 20:19:59 +01:00
parent f1fc3bdfba
commit 1b940fd41e
3 changed files with 1 additions and 22 deletions

View File

@@ -40,16 +40,6 @@
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;

View File

@@ -40,18 +40,6 @@ met:
typedef float<3> vec;
#ifdef __NVPTX__
#warning "emitting DEVICE code"
#define programCount warpSize()
#define programIndex laneIndex()
#define taskIndex0 blockIndex0()
#define taskCount0 blockCount0()
#define taskIndex1 blockIndex1()
#define taskCount1 blockCount1()
#else
#warning "emitting HOST code"
#endif
struct Isect {
float t;
vec p;