I need to draw a pseudorandom number from a uniform distribution on the device. rand() calls the host function. Anyone know how to do this?
Thanks - sorry for cross post
There’s been some talk about generating random numbers before:
http://www.google.com/search?hl=en&q=s…amp;btnG=Search
I think this post may be what you are looking for?
http://forums.nvidia.com/index.php?showtop…st&p=438439
If not, hopefully one of the other posts will help.