rocrand_set_quasi_random_generator_dimensions Interface Reference#
hipfort_rocrand::rocrand_set_quasi_random_generator_dimensions Interface Reference
Set the number of dimensions of a quasi-random number generator. More...
Public Member Functions | |
integer(kind(rocrand_status_success)) function | rocrand_set_quasi_random_generator_dimensions_ (generator, dimensions) |
Detailed Description
Set the number of dimensions of a quasi-random number generator.
Set the number of dimensions of a quasi-random number generator. Supported values of dimensions
are 1 to 20000.
- This operation resets the generator's internal state.
- This operation does not change the generator's offset.
- Parameters
-
generator - Quasi-random number generator dimensions - Number of dimensions
- Returns
- ROCRAND_STATUS_NOT_CREATED if the generator wasn't created
- ROCRAND_STATUS_TYPE_ERROR if the generator is not a quasi-random number generator
- ROCRAND_STATUS_OUT_OF_RANGE if
dimensions
is out of range
- ROCRAND_STATUS_SUCCESS if the number of dimensions was set successfully
- ROCRAND_STATUS_NOT_CREATED if the generator wasn't created
Member Function/Subroutine Documentation
◆ rocrand_set_quasi_random_generator_dimensions_()
integer(kind(rocrand_status_success)) function hipfort_rocrand::rocrand_set_quasi_random_generator_dimensions::rocrand_set_quasi_random_generator_dimensions_ | ( | type(c_ptr), value | generator, |
integer(c_int), value | dimensions | ||
) |
The documentation for this interface was generated from the following file: