Generating random numbers in the GPU


I need each thread to generate its own random number. So far I have tried to call a C routine from the device kernel with no luck.

Thanks in advance,


Hi Paula,

I haven’t tried this myself, but am working on a set of example programs and will add this to the list.

  • Mat

Thank you