The vector search and clustering algorithms in RAFT are being migrated to a new library dedicated to vector search called cuVS. We will continue to support the vector search algorithms in RAFT during this move, but will no longer update them after the RAPIDS 24.06 (June) release. We plan to complete the migration by RAPIDS 24.08 (August) release.


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.