rocrand_generate_log_normal Interface Reference#
hipfort_rocrand::rocrand_generate_log_normal Interface Reference
Generates log-normally distributed float values.
More...
Public Member Functions | |
| integer(kind(rocrand_status_success)) function | rocrand_generate_log_normal_ (generator, output_data, n, mean, stddev) |
Detailed Description
Generates log-normally distributed float values.
Generates n log-normally distributed 32-bit floating-point values and saves them to output_data.
- Parameters
-
generator - Generator to use output_data - Pointer to memory to store generated numbers n - Number of floats to generatemean - Mean value of log normal distribution stddev - Standard deviation value of log normal distribution
- Returns
- ROCRAND_STATUS_NOT_CREATED if the generator wasn't created
- ROCRAND_STATUS_LAUNCH_FAILURE if a HIP kernel launch failed
- ROCRAND_STATUS_LENGTH_NOT_MULTIPLE if
nis not a multiple of the dimension of used quasi-random generator
- ROCRAND_STATUS_SUCCESS if random numbers were successfully generated
- ROCRAND_STATUS_NOT_CREATED if the generator wasn't created
Member Function/Subroutine Documentation
◆ rocrand_generate_log_normal_()
| integer(kind(rocrand_status_success)) function hipfort_rocrand::rocrand_generate_log_normal::rocrand_generate_log_normal_ | ( | type(c_ptr), value | generator, |
| type(c_ptr), value | output_data, | ||
| integer(c_size_t), value | n, | ||
| real(c_float), value | mean, | ||
| real(c_float), value | stddev | ||
| ) |
The documentation for this interface was generated from the following file: