Developer Reference

Contents

oneapi::mkl::rng::device::bits

Generates bits of underlying engine (BRNG) integer recurrence.

Description

The
oneapi::mkl::rng::device::bits
class object is used to generate integer random values. Each integer can be treated as a vector of several bits. In a truly random generator, these bits are random, while in pseudorandom generators this randomness can be violated. See VS Notes for details.

API

Syntax
template<typename UIntType = std::uint32_t> class bits { using result_type = UIntType; };
Include Files
  • oneapi/mkl/rng/device.hpp
Template Parameters
typename UIntType = std::uint32_t
Type of the produced values. The specific values are as follows:
std::uint32_t

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.