onemkl::rng::ars5

ARS-5 counter-based pseudorandom number generator with a period of 2128, which uses instructions from the AES-NI set ARS5[Salmon11].

Syntax

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

Include Files

  • mkl_sycl.hpp

Description

ARS-5 counter-based pseudorandom number generator with a period of 2128, which uses instructions from the AES-NI set ARS5[Salmon11].

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 / std::initializer_list<std::uint64_t>

Initial conditions of the engine.

See VS Notes for detailed descriptions.