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 four different RNGs, namely the MRG31k3p, MRG32k3a, LFSR113 and Philox-4×32-10 generators.


Downloading and Installing clRNG

The latest source code of clRNG, with installation instructions, is available on GitHub.

Contact us

If you find a bug or if you want to suggest improvements, the preferred way is to submit an issue on GitHub.