Visible to Intel only — GUID: GUID-FCB23FB3-2701-4D9F-B9AA-A827A4F6CCD5
Visible to Intel only — GUID: GUID-FCB23FB3-2701-4D9F-B9AA-A827A4F6CCD5
uniform_bits
Generates uniformly distributed bits in 32/64-bit chunks.
Description
The uniform_bits class object is used to generate uniformly distributed bits in 32/64-bit chunks. It is designed to ensure each bit in the 32/64-bit chunk is uniformly distributed. It is not supported for all engines.
UIntType denotes the chunk size and can be std::uint32_t, std::uint64_t. See VS Notes for details.
API
Syntax
namespace oneapi::mkl::rng {
template<typename UIntType = std::uint32_t>
class uniform_bits {
using result_type = UIntType
}
}
Devices supported: CPU and GPU.
Include Files
oneapi/mkl/rng.hpp
Template Parameters
typename UIntType = std::uint32_t |
Type of the produced values. The specific values are as follows: std::uint32_t std::uint64_t |