Parallel random variates generator for GPUs based on normal numbers
School of Information Technology, Deakin University, 221 Burwood Hwy, Burwood 3125, Australia
arXiv:1206.1187v1 [cs.MS] (6 Jun 2012)
Pseudorandom number generators are required for many computational tasks, such as stochastic modelling and simulation. This paper investigates the serial CPU and parallel GPU implementation of a Linear Congruential Generator based on the binary representation of the normal number $alpha_{2,3}$. We adapted two methods of modular reduction which allowed us to perform most operations in 64-bit integer arithmetic, improving on the original implementation based on 106-bit double-double operations. We found that our implementation is faster than existing methods in literature, and our generation rate is close to the limiting rate imposed by the efficiency of writing to a GPU’s global memory.
June 8, 2012 by hgpu