hipRAND precision support

hipRAND precision support#

The data type support in hipRAND is similar to NVIDIA CUDA cuRAND. On AMD hardware, the backend is provided by rocRAND. To see the data type comparison between rocRAND and cuRAND, see rocRAND data type support.

This page lists the data types supported by the library itself and does not indicate hardware support. A type listed here is only usable if the GPU architecture also supports it; otherwise it is unsupported. For data type support across the other ROCm libraries and by GPU architecture, see the Data types and precision support page.

Output type support#

As a random number generation library, hipRAND specifies only the output data types for the random values it generates; it has no input data types. The following table lists the output data types supported by hipRAND.

Data type

Support

int8

Output only

int16

Output only

int32

Output only

int64

Output only

float16

Output only

float32

Output only

float64

Output only