# Enum hiprandStatus

- Defined in File hiprand.h

## Enum Documentation

enum hiprandStatus

  hipRAND function call status type

  Values:

  enumerator HIPRAND_STATUS_SUCCESS

    Success.

  enumerator HIPRAND_STATUS_VERSION_MISMATCH

    Header file and linked library version do not match.

  enumerator HIPRAND_STATUS_NOT_INITIALIZED

    Generator not created.

  enumerator HIPRAND_STATUS_ALLOCATION_FAILED

    Memory allocation failed.

  enumerator HIPRAND_STATUS_TYPE_ERROR

    Generator type is wrong.

  enumerator HIPRAND_STATUS_OUT_OF_RANGE

    Argument out of range.

  enumerator HIPRAND_STATUS_LENGTH_NOT_MULTIPLE

    Requested size is not a multiple of quasirandom generator’s dimension, or requested size is not even (see hiprandGenerateNormal()), or pointer is misaligned (see hiprandGenerateNormal())

  enumerator HIPRAND_STATUS_DOUBLE_PRECISION_REQUIRED

    GPU does not have double precision.

  enumerator HIPRAND_STATUS_LAUNCH_FAILURE

    Kernel launch failure.

  enumerator HIPRAND_STATUS_PREEXISTING_FAILURE

    Preexisting failure on library entry.

  enumerator HIPRAND_STATUS_INITIALIZATION_FAILED

    Initialization of HIP failed.

  enumerator HIPRAND_STATUS_ARCH_MISMATCH

    Architecture mismatch, GPU does not support requested feature.

  enumerator HIPRAND_STATUS_INTERNAL_ERROR

    Internal library error.

  enumerator HIPRAND_STATUS_NOT_IMPLEMENTED

    Feature not implemented yet.