Parallel random variates generator for GPUs based on normal numbers

Gleb Beliakov, Michael Johnstone, Doug Creighton, Tim Wilkin
School of Information Technology, Deakin University, 221 Burwood Hwy, Burwood 3125, Australia
arXiv:1206.1187v1 [cs.MS] (6 Jun 2012)


   author={Beliakov}, G. and {Johnstone}, M. and {Creighton}, D. and {Wilkin}, T.},

   title={"{Parallel random variates generator for GPUs based on normal numbers}"},

   journal={ArXiv e-prints},




   keywords={Computer Science – Mathematical Software, Computer Science – Distributed, Parallel, and Cluster Computing, Computer Science – Numerical Analysis, Mathematics – Numerical Analysis, Mathematics – Probability, 11K45, 65C10, 65Y05, 68W10},




   adsnote={Provided by the SAO/NASA Astrophysics Data System}


Download Download (PDF)   View View   Source Source   



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.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2021 hgpu.org

All rights belong to the respective authors

Contact us: