I am trying to do a Monte Carlo simulation using CURAND MTGP32 (Mersenne Twister) on the device side. I have tried the code below using the default generator and it works fi