mkl::rng::sfmt19937

SIMD-oriented Fast Mersenne Twister pseudorandom number generator SFMT19937 [Saito08] with a period length equal to 219937-1 of the produced sequence.

Syntax

class sfmt19937: internal::engine_base<sfmt19937>{

public:

sfmt19937 (cl::sycl::queue& queue, std::uint32_t seed);

sfmt19937 (cl::sycl::queue& queue, std::initializer_list<std::uint32_t> seed);

sfmt19937 (const sfmt19937& other);

sfmt19937& operator=(const sfmt19937& other);

~sfmt19937();

};

Devices supported: Host and CPU.

Include Files

Description

SIMD-oriented Fast Mersenne Twister pseudorandom number generator SFMT19937 [Saito08] with a period length equal to 219937-1 of the produced sequence.

Input Parameters

Name

Type

Description

queue

cl::sycl::queue

Valid sycl queue, calls of mkl::rng::generate() routine submit kernels in this queue.

seed

std::uint32_t / std::initializer_list<std::uint32_t>

Initial conditions of the engine.

See VS Notes for detailed descriptions.