Skip to main content
`Ctrl`+`K`

# rocRAND documentation

rocRAND provides functions that generate pseudo-random and quasi-random numbers. The rocRAND library is implemented in the HIP programming language and optimized for the latest discrete AMD GPUs. It is designed to run on top of the AMD ROCm platform.

rocRAND integrates with a wrapper library called hipRAND, which you can use to easily port NVIDIA CUDA applications that use the CUDA cuRAND library to the HIP layer. In a ROCm environment, hipRAND uses the rocRAND library.

The rocRAND public repository is located at ROCm/rocm-libraries.

Note

The rocRAND repository for ROCm 6.4 and earlier is located at ROCm/rocRAND.

Install

- Installation guide

Conceptual

- Programming guide

- cuRAND compatibility

- Kernel configurations for dynamic ordering

- Random number generators

Examples

- Examples

API reference

- rocRAND data type support

- C/C++ API reference

- Python API reference

- Fortran API reference

- API library

To contribute to the documentation, see Contributing to ROCm.

You can find licensing information on the Licensing page.