rocrand_destroy_generator Interface Reference

rocrand_destroy_generator Interface Reference#

HIPFORT API Reference: hipfort_rocrand::rocrand_destroy_generator Interface Reference
hipfort_rocrand::rocrand_destroy_generator Interface Reference

Destroys random number generator. More...

Public Member Functions

integer(kind(rocrand_status_success)) function rocrand_destroy_generator_ (generator)
 

Detailed Description

Destroys random number generator.

Destroys random number generator and frees related memory.

Parameters
generator- Generator to be destroyed
Returns
  • ROCRAND_STATUS_NOT_CREATED if the generator wasn't created
  • ROCRAND_STATUS_SUCCESS if generator was destroyed successfully

Member Function/Subroutine Documentation

◆ rocrand_destroy_generator_()

integer(kind(rocrand_status_success)) function hipfort_rocrand::rocrand_destroy_generator::rocrand_destroy_generator_ ( type(c_ptr), value  generator)

The documentation for this interface was generated from the following file: