hipranddestroygenerator Interface Reference

hipranddestroygenerator Interface Reference#

HIPFORT API Reference: hipfort_hiprand::hipranddestroygenerator Interface Reference
hipfort_hiprand::hipranddestroygenerator Interface Reference

Destroys random number generator. More...

Public Member Functions

integer(kind(hiprand_status_success)) function hipranddestroygenerator_ (generator)
 

Detailed Description

Destroys random number generator.

Destroys random number generator and frees related memory.

Parameters
generator- Generator to be destroyed
Returns
  • HIPRAND_STATUS_NOT_INITIALIZED if the generator was not initialized
  • HIPRAND_STATUS_SUCCESS if generator was destroyed successfully

Member Function/Subroutine Documentation

◆ hipranddestroygenerator_()

integer(kind(hiprand_status_success)) function hipfort_hiprand::hipranddestroygenerator::hipranddestroygenerator_ ( type(c_ptr), value  generator)

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