onemkl::rng::mcg59

The 59-bit multiplicative congruential pseudorandom number generator MCG(1313, 259) from NAG Numerical Libraries [NAG].

Syntax

class mcg59 : internal::engine_base<mcg59>{
public:
  mcg59 (cl::sycl::queue& queue, std::uint64_t         seed)
  mcg59 (const mcg59&other)
  mcg59& operator=(const mcg59& other)
  ~mcg59()
}

Include Files

  • mkl_sycl.hpp

Description

The 59-bit multiplicative congruential pseudorandom number generator MCG(1313, 259) from NAG Numerical Libraries [NAG].

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::uint64_t

Initial conditions of the engine.

See VS Notes for detailed descriptions.