mkl::rng::r250

The 32-bit generalized feedback shift register pseudorandom number generator GFSR(250,103)[Kirkpatrick81].

Syntax

class r250: internal::engine_base<r250>{

public:

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

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

r250 (const r250& other);

r250& operator=(const r250& other);

~r250();

};

Devices supported: Host and CPU.

Include Files

Description

The 32-bit generalized feedback shift register pseudorandom number generator GFSR(250,103) [Kirkpatrick81].

Input Parameters

Name

Type

Description

queue

cl::sycl::queue

Valid cl::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.