C/C++ API Reference
rocRAND Documentation
- page index
Overview
The rocRAND project provides functions that generate pseudo-random and quasi-random numbers.
The rocRAND library is implemented in the HIP programming language and optimised for AMD’s latest discrete GPUs. It is designed to run on top of AMD’s Radeon Open Compute ROCm runtime, but it also works on CUDA enabled GPUs. Additionally, the project includes a wrapper library called hipRAND which allows user to easily port CUDA applications that use cuRAND library to the HIP layer. In ROCm environment hipRAND uses rocRAND, however in CUDA environment cuRAND is used instead.
Page Hierarchy
Class Hierarchy
File Hierarchy
Full API
Namespaces
Classes and Structs
- Template Class lfsr113_engine
- Class Documentation
lfsr113_engine
lfsr113_engine::result_type
lfsr113_engine::order_type
lfsr113_engine::seed_type
lfsr113_engine::lfsr113_engine()
lfsr113_engine::lfsr113_engine()
lfsr113_engine::~lfsr113_engine()
lfsr113_engine::stream()
lfsr113_engine::order()
lfsr113_engine::seed()
lfsr113_engine::seed()
lfsr113_engine::operator()()
lfsr113_engine::min()
lfsr113_engine::max()
lfsr113_engine::type()
lfsr113_engine::default_seed
- Class Documentation
- Template Class lognormal_distribution
- Nested Relationships
- Class Documentation
lognormal_distribution
lognormal_distribution::result_type
lognormal_distribution::lognormal_distribution()
lognormal_distribution::lognormal_distribution()
lognormal_distribution::reset()
lognormal_distribution::m()
lognormal_distribution::s()
lognormal_distribution::param()
lognormal_distribution::param()
lognormal_distribution::min()
lognormal_distribution::max()
lognormal_distribution::operator()()
lognormal_distribution::operator==()
lognormal_distribution::operator!=()
lognormal_distribution::param_type
lognormal_distribution::param_type::distribution_type
lognormal_distribution::param_type::param_type()
lognormal_distribution::param_type::param_type()
lognormal_distribution::param_type::m()
lognormal_distribution::param_type::s()
lognormal_distribution::param_type::operator==()
lognormal_distribution::param_type::operator!=()
- Template Class mrg31k3p_engine
- Class Documentation
mrg31k3p_engine
mrg31k3p_engine::result_type
mrg31k3p_engine::order_type
mrg31k3p_engine::offset_type
mrg31k3p_engine::seed_type
mrg31k3p_engine::mrg31k3p_engine()
mrg31k3p_engine::mrg31k3p_engine()
mrg31k3p_engine::~mrg31k3p_engine()
mrg31k3p_engine::stream()
mrg31k3p_engine::order()
mrg31k3p_engine::offset()
mrg31k3p_engine::seed()
mrg31k3p_engine::operator()()
mrg31k3p_engine::min()
mrg31k3p_engine::max()
mrg31k3p_engine::type()
mrg31k3p_engine::default_seed
- Class Documentation
- Template Class mrg32k3a_engine
- Class Documentation
mrg32k3a_engine
mrg32k3a_engine::result_type
mrg32k3a_engine::order_type
mrg32k3a_engine::offset_type
mrg32k3a_engine::seed_type
mrg32k3a_engine::mrg32k3a_engine()
mrg32k3a_engine::mrg32k3a_engine()
mrg32k3a_engine::~mrg32k3a_engine()
mrg32k3a_engine::stream()
mrg32k3a_engine::order()
mrg32k3a_engine::offset()
mrg32k3a_engine::seed()
mrg32k3a_engine::operator()()
mrg32k3a_engine::min()
mrg32k3a_engine::max()
mrg32k3a_engine::type()
mrg32k3a_engine::default_seed
- Class Documentation
- Template Class mt19937_engine
- Class Documentation
mt19937_engine
mt19937_engine::result_type
mt19937_engine::seed_type
mt19937_engine::mt19937_engine()
mt19937_engine::mt19937_engine()
mt19937_engine::mt19937_engine()
mt19937_engine::mt19937_engine()
mt19937_engine::operator=()
mt19937_engine::operator=()
mt19937_engine::~mt19937_engine()
mt19937_engine::stream()
mt19937_engine::seed()
mt19937_engine::operator()()
mt19937_engine::min()
mt19937_engine::max()
mt19937_engine::type()
mt19937_engine::default_seed
- Class Documentation
- Template Class mtgp32_engine
- Class Documentation
mtgp32_engine
mtgp32_engine::result_type
mtgp32_engine::order_type
mtgp32_engine::offset_type
mtgp32_engine::seed_type
mtgp32_engine::mtgp32_engine()
mtgp32_engine::mtgp32_engine()
mtgp32_engine::~mtgp32_engine()
mtgp32_engine::stream()
mtgp32_engine::order()
mtgp32_engine::seed()
mtgp32_engine::operator()()
mtgp32_engine::min()
mtgp32_engine::max()
mtgp32_engine::type()
mtgp32_engine::default_seed
- Class Documentation
- Template Class normal_distribution
- Nested Relationships
- Class Documentation
normal_distribution
normal_distribution::result_type
normal_distribution::normal_distribution()
normal_distribution::normal_distribution()
normal_distribution::reset()
normal_distribution::mean()
normal_distribution::stddev()
normal_distribution::min()
normal_distribution::max()
normal_distribution::param()
normal_distribution::param()
normal_distribution::operator()()
normal_distribution::operator==()
normal_distribution::operator!=()
normal_distribution::param_type
normal_distribution::param_type::distribution_type
normal_distribution::param_type::param_type()
normal_distribution::param_type::param_type()
normal_distribution::param_type::mean()
normal_distribution::param_type::stddev()
normal_distribution::param_type::operator==()
normal_distribution::param_type::operator!=()
- Template Class philox4x32_10_engine
- Class Documentation
philox4x32_10_engine
philox4x32_10_engine::result_type
philox4x32_10_engine::order_type
philox4x32_10_engine::offset_type
philox4x32_10_engine::seed_type
philox4x32_10_engine::philox4x32_10_engine()
philox4x32_10_engine::philox4x32_10_engine()
philox4x32_10_engine::~philox4x32_10_engine()
philox4x32_10_engine::stream()
philox4x32_10_engine::order()
philox4x32_10_engine::offset()
philox4x32_10_engine::seed()
philox4x32_10_engine::operator()()
philox4x32_10_engine::min()
philox4x32_10_engine::max()
philox4x32_10_engine::type()
philox4x32_10_engine::default_seed
- Class Documentation
- Template Class poisson_distribution
- Nested Relationships
- Class Documentation
poisson_distribution
poisson_distribution::result_type
poisson_distribution::poisson_distribution()
poisson_distribution::poisson_distribution()
poisson_distribution::reset()
poisson_distribution::mean()
poisson_distribution::min()
poisson_distribution::max()
poisson_distribution::param()
poisson_distribution::param()
poisson_distribution::operator()()
poisson_distribution::operator==()
poisson_distribution::operator!=()
poisson_distribution::param_type
- Template Class scrambled_sobol32_engine
- Class Documentation
scrambled_sobol32_engine
scrambled_sobol32_engine::result_type
scrambled_sobol32_engine::offset_type
scrambled_sobol32_engine::order_type
scrambled_sobol32_engine::dimensions_num_type
scrambled_sobol32_engine::scrambled_sobol32_engine()
scrambled_sobol32_engine::scrambled_sobol32_engine()
scrambled_sobol32_engine::~scrambled_sobol32_engine()
scrambled_sobol32_engine::stream()
scrambled_sobol32_engine::order()
scrambled_sobol32_engine::offset()
scrambled_sobol32_engine::dimensions()
scrambled_sobol32_engine::operator()()
scrambled_sobol32_engine::min()
scrambled_sobol32_engine::max()
scrambled_sobol32_engine::type()
scrambled_sobol32_engine::default_num_dimensions
- Class Documentation
- Template Class scrambled_sobol64_engine
- Class Documentation
scrambled_sobol64_engine
scrambled_sobol64_engine::result_type
scrambled_sobol64_engine::order_type
scrambled_sobol64_engine::offset_type
scrambled_sobol64_engine::dimensions_num_type
scrambled_sobol64_engine::scrambled_sobol64_engine()
scrambled_sobol64_engine::scrambled_sobol64_engine()
scrambled_sobol64_engine::~scrambled_sobol64_engine()
scrambled_sobol64_engine::stream()
scrambled_sobol64_engine::order()
scrambled_sobol64_engine::offset()
scrambled_sobol64_engine::dimensions()
scrambled_sobol64_engine::operator()()
scrambled_sobol64_engine::min()
scrambled_sobol64_engine::max()
scrambled_sobol64_engine::type()
scrambled_sobol64_engine::default_num_dimensions
- Class Documentation
- Template Class sobol32_engine
- Class Documentation
sobol32_engine
sobol32_engine::result_type
sobol32_engine::order_type
sobol32_engine::offset_type
sobol32_engine::dimensions_num_type
sobol32_engine::sobol32_engine()
sobol32_engine::sobol32_engine()
sobol32_engine::~sobol32_engine()
sobol32_engine::stream()
sobol32_engine::order()
sobol32_engine::offset()
sobol32_engine::dimensions()
sobol32_engine::operator()()
sobol32_engine::min()
sobol32_engine::max()
sobol32_engine::type()
sobol32_engine::default_num_dimensions
- Class Documentation
- Template Class sobol64_engine
- Class Documentation
sobol64_engine
sobol64_engine::result_type
sobol64_engine::offset_type
sobol64_engine::order_type
sobol64_engine::dimensions_num_type
sobol64_engine::sobol64_engine()
sobol64_engine::sobol64_engine()
sobol64_engine::~sobol64_engine()
sobol64_engine::stream()
sobol64_engine::order()
sobol64_engine::offset()
sobol64_engine::dimensions()
sobol64_engine::operator()()
sobol64_engine::min()
sobol64_engine::max()
sobol64_engine::type()
sobol64_engine::default_num_dimensions
- Class Documentation
- Template Class threefry2x32_20_engine
- Class Documentation
threefry2x32_20_engine
threefry2x32_20_engine::result_type
threefry2x32_20_engine::order_type
threefry2x32_20_engine::offset_type
threefry2x32_20_engine::seed_type
threefry2x32_20_engine::threefry2x32_20_engine()
threefry2x32_20_engine::threefry2x32_20_engine()
threefry2x32_20_engine::~threefry2x32_20_engine()
threefry2x32_20_engine::stream()
threefry2x32_20_engine::order()
threefry2x32_20_engine::offset()
threefry2x32_20_engine::seed()
threefry2x32_20_engine::operator()()
threefry2x32_20_engine::min()
threefry2x32_20_engine::max()
threefry2x32_20_engine::type()
threefry2x32_20_engine::default_seed
- Class Documentation
- Template Class threefry2x64_20_engine
- Class Documentation
threefry2x64_20_engine
threefry2x64_20_engine::result_type
threefry2x64_20_engine::order_type
threefry2x64_20_engine::offset_type
threefry2x64_20_engine::seed_type
threefry2x64_20_engine::threefry2x64_20_engine()
threefry2x64_20_engine::threefry2x64_20_engine()
threefry2x64_20_engine::~threefry2x64_20_engine()
threefry2x64_20_engine::stream()
threefry2x64_20_engine::order()
threefry2x64_20_engine::offset()
threefry2x64_20_engine::seed()
threefry2x64_20_engine::operator()()
threefry2x64_20_engine::min()
threefry2x64_20_engine::max()
threefry2x64_20_engine::type()
threefry2x64_20_engine::default_seed
- Class Documentation
- Template Class threefry4x32_20_engine
- Class Documentation
threefry4x32_20_engine
threefry4x32_20_engine::result_type
threefry4x32_20_engine::order_type
threefry4x32_20_engine::offset_type
threefry4x32_20_engine::seed_type
threefry4x32_20_engine::threefry4x32_20_engine()
threefry4x32_20_engine::threefry4x32_20_engine()
threefry4x32_20_engine::~threefry4x32_20_engine()
threefry4x32_20_engine::stream()
threefry4x32_20_engine::order()
threefry4x32_20_engine::offset()
threefry4x32_20_engine::seed()
threefry4x32_20_engine::operator()()
threefry4x32_20_engine::min()
threefry4x32_20_engine::max()
threefry4x32_20_engine::type()
threefry4x32_20_engine::default_seed
- Class Documentation
- Template Class threefry4x64_20_engine
- Class Documentation
threefry4x64_20_engine
threefry4x64_20_engine::result_type
threefry4x64_20_engine::order_type
threefry4x64_20_engine::offset_type
threefry4x64_20_engine::seed_type
threefry4x64_20_engine::threefry4x64_20_engine()
threefry4x64_20_engine::threefry4x64_20_engine()
threefry4x64_20_engine::~threefry4x64_20_engine()
threefry4x64_20_engine::stream()
threefry4x64_20_engine::offset()
threefry4x64_20_engine::seed()
threefry4x64_20_engine::operator()()
threefry4x64_20_engine::min()
threefry4x64_20_engine::max()
threefry4x64_20_engine::type()
threefry4x64_20_engine::default_seed
- Class Documentation
- Template Class uniform_int_distribution
- Class Documentation
uniform_int_distribution
uniform_int_distribution::result_type
uniform_int_distribution::uniform_int_distribution()
uniform_int_distribution::reset()
uniform_int_distribution::min()
uniform_int_distribution::max()
uniform_int_distribution::operator()()
uniform_int_distribution::operator==()
uniform_int_distribution::operator!=()
- Class Documentation
- Template Class uniform_real_distribution
- Class Documentation
uniform_real_distribution
uniform_real_distribution::result_type
uniform_real_distribution::uniform_real_distribution()
uniform_real_distribution::reset()
uniform_real_distribution::min()
uniform_real_distribution::max()
uniform_real_distribution::operator()()
uniform_real_distribution::operator==()
uniform_real_distribution::operator!=()
- Class Documentation
- Template Class xorwow_engine
- Class Documentation
xorwow_engine
xorwow_engine::result_type
xorwow_engine::order_type
xorwow_engine::offset_type
xorwow_engine::seed_type
xorwow_engine::xorwow_engine()
xorwow_engine::xorwow_engine()
xorwow_engine::~xorwow_engine()
xorwow_engine::stream()
xorwow_engine::order()
xorwow_engine::offset()
xorwow_engine::seed()
xorwow_engine::operator()()
xorwow_engine::min()
xorwow_engine::max()
xorwow_engine::type()
xorwow_engine::default_seed
- Class Documentation
Enums
- Enum rocrand_rng_type
- Enum Documentation
rocrand_rng_type
rocrand_rng_type::ROCRAND_RNG_PSEUDO_DEFAULT
rocrand_rng_type::ROCRAND_RNG_PSEUDO_XORWOW
rocrand_rng_type::ROCRAND_RNG_PSEUDO_MRG32K3A
rocrand_rng_type::ROCRAND_RNG_PSEUDO_MTGP32
rocrand_rng_type::ROCRAND_RNG_PSEUDO_PHILOX4_32_10
rocrand_rng_type::ROCRAND_RNG_PSEUDO_MRG31K3P
rocrand_rng_type::ROCRAND_RNG_PSEUDO_LFSR113
rocrand_rng_type::ROCRAND_RNG_PSEUDO_MT19937
rocrand_rng_type::ROCRAND_RNG_PSEUDO_THREEFRY2_32_20
rocrand_rng_type::ROCRAND_RNG_PSEUDO_THREEFRY2_64_20
rocrand_rng_type::ROCRAND_RNG_PSEUDO_THREEFRY4_32_20
rocrand_rng_type::ROCRAND_RNG_PSEUDO_THREEFRY4_64_20
rocrand_rng_type::ROCRAND_RNG_QUASI_DEFAULT
rocrand_rng_type::ROCRAND_RNG_QUASI_SOBOL32
rocrand_rng_type::ROCRAND_RNG_QUASI_SCRAMBLED_SOBOL32
rocrand_rng_type::ROCRAND_RNG_QUASI_SOBOL64
rocrand_rng_type::ROCRAND_RNG_QUASI_SCRAMBLED_SOBOL64
- Enum Documentation
- Enum rocrand_status
- Enum Documentation
rocrand_status
rocrand_status::ROCRAND_STATUS_SUCCESS
rocrand_status::ROCRAND_STATUS_VERSION_MISMATCH
rocrand_status::ROCRAND_STATUS_NOT_CREATED
rocrand_status::ROCRAND_STATUS_ALLOCATION_FAILED
rocrand_status::ROCRAND_STATUS_TYPE_ERROR
rocrand_status::ROCRAND_STATUS_OUT_OF_RANGE
rocrand_status::ROCRAND_STATUS_LENGTH_NOT_MULTIPLE
rocrand_status::ROCRAND_STATUS_DOUBLE_PRECISION_REQUIRED
rocrand_status::ROCRAND_STATUS_LAUNCH_FAILURE
rocrand_status::ROCRAND_STATUS_INTERNAL_ERROR
- Enum Documentation