pith. sign in

arxiv: 1206.1187 · v2 · pith:XPX3EI3Gnew · submitted 2012-06-06 · 💻 cs.MS · cs.DC· cs.NA· math.NA· math.PR

Parallel random variates generator for GPUs based on normal numbers

classification 💻 cs.MS cs.DCcs.NAmath.NAmath.PR
keywords implementationgeneratormethodsnormalnumberoperationsparallelrate
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.