Random
This page provides C++ class references for the publicly-exposed elements of the random package.
Random State
#include <raft/random/rng_state.hpp>
namespace raft::random
-
struct RngState
The RNG state used to keep RNG state around on the host.
Public Members
-
GeneratorType type = {GeneratorType::GenPC}
The generator type. PCGenerator has been extensively tested and is faster than Philox, thus we use it as the default.