onemkl::rng::mcg31m1¶
The 31-bit multiplicative congruential pseudorandom number generator MCG(1132489760, 231 -1) [L’Ecuyer99]
Syntax
class mcg31m1 : internal::engine_base<mcg31m1>{
public:
mcg31m1 (cl::sycl::queue& queue, std::uint32_t seed)
mcg31m1 (const mcg31m1& other)
mcg31m1& operator=(const mcg31m1& other)
~mcg31m1()
}
Include Files
mkl_sycl.hpp
Description
The 31-bit multiplicative congruential pseudorandom number generator MCG(1132489760, 231 -1) [[L’Ecuyer99]].
Input Parameters
Name |
Type |
Description |
---|---|---|
queue |
cl::sycl::queue |
Valid cl::sycl::queue, calls of the onemkl::rng::generate() routine submits kernels in this queue. |
seed |
std::uint32_t |
Initial conditions of the engine. |
See VS Notes for detailed descriptions.
Parent topic: Engines (Basic Random Number Generators)