82 return state * 747796405u + 2891336453u;
#define OQMC_HOST_DEVICE
Definition gpu.h:13
constexpr std::uint32_t output(std::uint32_t state)
Output permutation function.
Definition pcg.h:96
constexpr std::uint32_t hash(std::uint32_t key)
Compute a hash value based on an input key.
Definition pcg.h:143
constexpr std::uint32_t stateTransition(std::uint32_t state)
State transition function.
Definition pcg.h:79
constexpr std::uint32_t init()
Default initialise the PRNG state.
Definition pcg.h:117
constexpr std::uint32_t rng(std::uint32_t &state)
Compute a random number from the PRNG sequence.
Definition pcg.h:162
EncodeKey decodeBits16(std::uint16_t value)
Decode a value back into a key.
Definition encode.h:81