# Enum rocrand_status

- Defined in File rocrand.h

## Enum Documentation

enum rocrand_status

  rocRAND function call status type

  Values:

  enumerator ROCRAND_STATUS_SUCCESS

    No errors.

  enumerator ROCRAND_STATUS_VERSION_MISMATCH

    Header file and linked library version do not match.

  enumerator ROCRAND_STATUS_NOT_CREATED

    Generator was not created using rocrand_create_generator.

  enumerator ROCRAND_STATUS_ALLOCATION_FAILED

    Memory allocation failed during execution.

  enumerator ROCRAND_STATUS_TYPE_ERROR

    Generator type is wrong.

  enumerator ROCRAND_STATUS_OUT_OF_RANGE

    Argument out of range.

  enumerator ROCRAND_STATUS_LENGTH_NOT_MULTIPLE

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

  enumerator ROCRAND_STATUS_DOUBLE_PRECISION_REQUIRED

    GPU does not have double precision.

  enumerator ROCRAND_STATUS_LAUNCH_FAILURE

    Kernel launch failure.

  enumerator ROCRAND_STATUS_INTERNAL_ERROR

    Internal library error.