<cuda/std/random>#
Provided functionalities#
Random number engines:
C++26 std::philox4x32 - available from C++17 onwards
C++26 std::philox4x64 - available from C++17 onwards
Note
cuda::pcg64 is provided in the non-standard <cuda/random> header. See
cuda::pcg64.
Random number distributions:
Utilities:
Note
cuda::std::seed_seq should be used exclusively on host or exclusively on device. Do not share the same
seed_seq instance between host and device code.
The following engines or distributions are not implemented as they are not convenient or practical to implement in CUDA device code, either due to dynamic memory allocations or large state sizes.