onemkl::rng::mt2203

Set of 6024 Mersenne Twister pseudorandom number generators MT2203 [Matsumoto98], [Matsumoto00]. Each of them generates a sequence of period length equal to 22203-1. Parameters of the generators provide mutual independence of the corresponding sequences..

Syntax

class mt2203 : internal::engine_base<mt2203>{
public:
  mt2203 (cl::sycl::queue& queue, std::uint32_t         seed, std::uint32_t engine_idx)
  mt2203 (cl::sycl::queue& queue,         std::initializer_list<std::uint32_t> seed, std::uint32_t         engine_idx)
  mt2203 (const mt2203& other)
  mt2203& operator=(const mt2203& other)
  ~mt2203()
}

Include Files

  • mkl_sycl.hpp

Description

Set of 6024 Mersenne Twister pseudorandom number generators MT2203 [Matsumoto98], [Matsumoto00]. Each of them generates a sequence of period length equal to 22203-1. Parameters of the generators provide mutual independence of the corresponding sequences..

Input Parameters

Name

Type

Description

queue

cl::sycl::queue

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

seed

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

Initial conditions of the engine.

engine_idx

std::uint32_t

Index of the engine from the set (set contains 6024 basic generators).

See VS Notes for detailed descriptions.