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.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Using CURAND inside NVRTC (JIT-compiled) kernels | 0 | 1183 | June 21, 2017 | |
| Random Number within Kernel | 3 | 2021 | October 18, 2016 | |
| Getting cuRAND function to work with C++ implementation | 0 | 503 | January 13, 2015 | |
| Is there any way to use rand() function in cuda like the example i have attached | 1 | 6471 | January 29, 2015 | |
| Differences between host API and device API for CURAND? | 4 | 12054 | February 16, 2011 | |
| Random data inside device codes? | 4 | 1383 | July 4, 2013 | |
| cuda fortran and random number | 1 | 2510 | May 11, 2011 | |
| curand host performance | 6 | 1361 | December 29, 2016 | |
| How do I test random kernels vs cpu? | 2 | 518 | August 8, 2017 | |
| curand_kernel.h curand makes my program toooo slow | 3 | 6669 | April 12, 2011 |