curandGenerateNormal Crashing

The curandGenerateNormal function is crashing after it has been called a few times inside the loop when the size parameter is big.

If I replace curandGenerateNormal with The curandGenerateUniform, the code runs okey.

Is there any limitation on the curandGenerateNormal function? Is any way to see some detailed message why is that happening?

Thanks

The curandGenerateNormal function is crashing after it has been called a few times inside the loop when the size parameter is big.

If I replace curandGenerateNormal with The curandGenerateUniform, the code runs okey.

Is there any limitation on the curandGenerateNormal function? Is any way to see some detailed message why is that happening?

Thanks

I don’t know the reason, but it happens the same with my code (every 1483 cycles exactly), then I “reboot” the curandGenerator every 1400 cycles. This, using:

curandDestroyGenerator(g);

and creating a new curandGenerator.