How to call currand and cublas in device code by PVF?


I want to call curand and cublas in global or device functions by PGI Visual Fortran. How to implement this? Can you give me some simple example code?

Thank you very much!


Do you see this topic? It has been several days passed, however, there’s no reply.