clRNG: A Random Number API with Multiple Streams for OpenCL

Pierre L’Ecuyer, David Munger, Nabil Kemerchou
DIRO, Universite de Montreal, Montreal (QC), Canada, H3C 3J7
Universite de Montreal, 2015


   title={clRNG: A Random Number API with Multiple Streams for OpenCL},

   author={L’Ecuyer, Pierre and Munger, David and Kemerchou, Nabil},



We present clRNG, a library for uniform random number generation in OpenCL. Streams of random numbers act as virtual random number generators. They can be created on the host computer in unlimited numbers, and then used either on the host or on other computing devices by work items to generate random numbers. Each stream also has equally-spaced substreams, which are occasionally useful. The API is currently implemented for three different RNGs, namely the MRG31k3p, MRG32k3a, LFSR113, and Philox-4×32-10 generators.
Rating: 3.0/5. From 4 votes.
Please wait...

* * *

* * *

* * *

HGPU group © 2010-2022 hgpu.org

All rights belong to the respective authors

Contact us: