Visible to Intel only — GUID: GUID-77B50E5A-0E4D-430F-84BD-58AAE0E78222
Visible to Intel only — GUID: GUID-77B50E5A-0E4D-430F-84BD-58AAE0E78222
oneapi::mkl::rng::mrg32k3a
Description
The combined multiple recursive pseudorandom number generator MRG32k3a [L’Ecuyer99a].
API
Syntax
class mrg32k3a { public: static constexpr std::uint32_t default_seed = 1; mrg32k3a(sycl::queue queue, std::uint32_t seed = default_seed); mrg32k3a(sycl::queue queue, std::initializer_list<std::uint32_t> seed); mrg32k3a(const mrg32k3a& other); mrg32k3a(mrg32k3a&& other); mrg32k3a& operator=(const mrg32k3a& other); mrg32k3a& operator=(mrg32k3a&& other); ~mrg32k3a(); };
Devices supported: CPU and GPU.
Include Files
oneapi/mkl/rng.hpp
Input Parameters
Name |
Type |
Description |
---|---|---|
queue |
sycl::queue |
Valid sycl::queue, calls of the oneapi::mkl::rng::generate() routine submits kernels in this queue. |
seed |
std::uint32_tstd::initializer_list<std::uint32_t> |
Initial conditions of the generator state or engine state. |
See VS Notes for the detailed descriptions.
Did you find the information on this page useful?
Feedback Message
Characters remaining: