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::mkl::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

nondeterministic(sycl::queue queue)

Constructor for the particular device

nondeterministic(const nondeterministic& other)

Copy constructor

nondeterministic(nondeterministic&& other)

Move constructor

nondeterministic& operator=(const nondeterministic& other)

Copy assignment operator

nondeterministic& operator=(nondeterministic&& other)

Move assignment operator

Constructors

nondeterministic::nondeterministic(sycl::queue queue)

Input Parameters

queue

Valid sycl::queue object, calls of the oneapi::mkl::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. The queue and state of the other engine is copied and applied to the current engine.

nondeterministic::nondeterministic(nondeterministic&& other)

Input Parameters

other

Valid nondeterministic object. The queue and state of the other engine is moved to the current engine.

nondeterministic::nondeterministic& operator=(const nondeterministic& other)

Input Parameters

other

Valid nondeterministic object. The queue 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. The queue and state of the other engine is moved to the current engine.

Parent topic: Host Engines (Basic Random Number Generators)