Using CURAND inside NVRTC (JIT-compiled) kernels

Of course curand has both host and device APIs. I assume you are referring to the device API. For that, if it were me, I would use jitify. For example, AFAIK cupy uses this method (jitify) to enable support for curand device API in cupy user-defined kernels.

2 Likes