I wonder if there is a function to generate random number as srand48() and drand48().
No, there isn’t. If you want a device side random number generator, you will need something like the mersenne twister example in the SDK.
I wonder if there is a function to generate random number as srand48() and drand48().
No, there isn’t. If you want a device side random number generator, you will need something like the mersenne twister example in the SDK.