Visible to Intel only — GUID: GUID-CF44CD42-CB08-4D8D-AD09-C92826CDE957
Visible to Intel only — GUID: GUID-CF44CD42-CB08-4D8D-AD09-C92826CDE957
oneapi::mkl::rng::sobol
Description
Sobol quasi-random number generator [Sobol76], [Bratley88], which works in arbitrary dimension.
API
Syntax
class sobol { public: static constexpr std::uint32_t default_dimensions_number = 1; sobol(sycl::queue queue, std::uint32_t dimensions = default_dimensions_number); sobol(sycl::queue queue, std::vector<std::uint32_t>& direction_numbers); sobol(const sobol& other); sobol(sobol&& other); sobol& operator=(const sobol& other); sobol& operator=(sobol&& other); ~sobol(); };
Devices supported: CPU and GPU.
Include Files
oneapi/mkl/rng.hpp
Input Parameters
Name |
Type |
Description |
---|---|---|
queue |
sycl::queue |
Valid sycl::queue, calls of oneapi::mkl::rng::generate() routine submit kernels in this queue. |
dimensions |
std::uint32_t |
Number of dimensions. |
direction_numbers |
std::vector<std::uint32_t> |
User-defined direction numbers. |
See VS Notes for the detailed descriptions.
Did you find the information on this page useful?
Feedback Message
Characters remaining: