HcRNG

Libraries

HCC implementation of uniform random number generators. The following are the sub-routines that are implemented:

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 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.

  • MRG31k3p
  • MRG32k3a
  • LFSR113
  • Philox-4×32-10

HcRNG has been ported with  HCC Compiler with the HC C++  dialect and supports

  • Can be built to run on
    • Radeon Open Compute Kernel Driver and Runtime on Fiji based hardware.

You can get it on Bitbucket link below.

 

Resources