BARC/PUB/2012/0709

 
 

Efficient pseudo-random number generation for monte-carlo simulations using graphic processors

 
     
 
Author(s)

Mohanty, S.; Mohanty, A. K.; Carminati, F.
(NPD)

Source

Journal of Physics-Conference Series, 2012. Vol. 368 (1): Article no. 012024

ABSTRACT

A hybrid approach based on the combination of three Tausworthe generators and one linear congruential generator for pseudo random number generation for GPU programming as suggested in NVIDIA-CUDA library has been used for MONTE-CARLO sampling. On each GPU thread, a random seed is generated on fly in a simple way using the quick and dirty algorithm where mod operation is not performed explicitly due to unsigned integer overflow. Using this hybrid generator, multivariate correlated sampling based on alias technique has been carried out using both CUDA and OpenCL languages.

 
 
SIRD Digital E-Sangrahay