I want to generate random numbers using ACML library. I have a loop to be a kernel, each iteration generate N random numbers. My question is whether DRANDUNIFORM can be used to generate random number directly on the device memory or not? If not, is there a way to do that.
I hope someone can tell me how to avoid copy these random numbers from host to device every iteration of the loop.