nondeterministic#
Non-deterministic random number generator.
Description
Implementation defined generator with non-deterministic source of randomness (for example, a hardware device).
class nondeterministic#
Syntax
namespace oneapi::math::rng {
class nondeterministic {
public:
nondeterministic(sycl::queue queue);
nondeterministic(const nondeterministic& other);
nondeterministic(nondeterministic&& other);
nondeterministic& operator=(const nondeterministic& other);
nondeterministic& operator=(nondeterministic&& other);
~nondeterministic();
};
}
Class Members
Routine |
Description |
---|---|
Constructor for the particular device |
|
Copy constructor |
|
Move constructor |
|
Copy assignment operator |
|
Move assignment operator |
Constructors
nondeterministic::nondeterministic(sycl::queue queue)
Input Parameters
- queue
Valid
sycl::queue
object, calls of the oneapi::math::rng::generate() routine submits kernels in this queue to obtain random numbers from a given engine.
nondeterministic::nondeterministic(const nondeterministic& other)
Input Parameters
- other
Valid
nondeterministic
object. Thequeue
and state of the other engine is copied and applied to the current engine.
nondeterministic::nondeterministic(nondeterministic&& other)
Input Parameters
- other
Valid
nondeterministic
object. Thequeue
and state of the other engine is moved to the current engine.
nondeterministic::nondeterministic& operator=(const nondeterministic& other)
Input Parameters
- other
Valid
nondeterministic
object. Thequeue
and state of the other engine is copied and applied to the current engine.
nondeterministic::nondeterministic& operator=(nondeterministic&& other)
Input Parameters
- other
Valid
nondeterministic
r-value object. Thequeue
and state of the other engine is moved to the current engine.
Parent topic: Host Engines (Basic Random Number Generators)