Skip to content
it's /me edited this page Mar 2, 2021 · 3 revisions

The fract function is absent in Cuda, but fortunately the _floor function works

#ifdef DEVICE_IS_CUDA 
   #define fract(A) ((A)-_floor(A))
#endif
Clone this wiki locally