Random number generators for massively parallel simulations on GPU

Markus Manssen, Martin Weigel, Alexander K. Hartmann
Institute of Physics, University of Oldenburg, 26111 Oldenburg, Germany
arXiv:1204.6193v1 [physics.comp-ph] (27 Apr 2012)


   author={Manssen}, M. and {Weigel}, M. and {Hartmann}, A.~K.},

   title={"{Random number generators for massively parallel simulations on GPU}"},

   journal={ArXiv e-prints},




   keywords={Physics – Computational Physics, Condensed Matter – Statistical Mechanics, High Energy Physics – Lattice},




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


Download Download (PDF)   View View   Source Source   



High-performance streams of (pseudo) random numbers are crucial for the efficient implementation for countless stochastic algorithms, most importantly, Monte Carlo simulations and molecular dynamics simulations with stochastic thermostats. A number of implementations of random number generators has been discussed for GPU platforms before and some generators are even included in the CUDA supporting libraries. Nevertheless, not all of these generators are well suited for highly parallel applications where each thread requires its own generator instance. For this specific situation encountered, for instance, in simulations of lattice models, most of the high-quality generators with large states such as Mersenne twister cannot be used efficiently without substantial changes. We provide a broad review of existing CUDA variants of random-number generators and present the CUDA implementation of a new massively parallel high-quality, high-performance generator with a small memory load overhead.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2021 hgpu.org

All rights belong to the respective authors

Contact us: