Skip to content

Commit

Permalink
Merge pull request #24 from benanil/main
Browse files Browse the repository at this point in the history
ISNVIDIA preprocessor fix
  • Loading branch information
jbikker authored Nov 20, 2024
2 parents 9ab95dc + c682b1e commit 3514cae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions traverse.cl
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,14 @@ void kernel traverse_gpu4way( global float4* alt4Node, global struct Ray* rayDat
#ifdef ISINTEL // Iris Xe, Arc, ..
// #define USE_VLOAD_VSTORE
#define SIMD_AABBTEST
#elif define ISNVIDIA // 2080, 3080, 4080, ..
#elif defined ISNVIDIA // 2080, 3080, 4080, ..
#define USE_VLOAD_VSTORE
// #define SIMD_AABBTEST
#else // AMD, .. : untested
#elif defined ISAMD
#define USE_VLOAD_VSTORE
#define SIMD_AABBTEST
#else // ARM, .. : untested

#endif

#ifdef USE_VLOAD_VSTORE
Expand Down

0 comments on commit 3514cae

Please sign in to comment.