hipranddestroydistribution Interface Reference

hipranddestroydistribution Interface Reference#

HIPFORT API Reference: hipfort_hiprand::hipranddestroydistribution Interface Reference
hipfort_hiprand::hipranddestroydistribution Interface Reference

Destroy the histogram array for a discrete distribution. More...

Public Member Functions

integer(kind(hiprand_status_success)) function hipranddestroydistribution_ (discrete_distribution)
 

Detailed Description

Destroy the histogram array for a discrete distribution.

Destroy the histogram array for a discrete distribution created by hiprandCreatePoissonDistribution.

Parameters
discrete_distribution- pointer to the histogram in device memory
Returns
  • HIPRAND_STATUS_OUT_OF_RANGE if discrete_distribution was null
  • HIPRAND_STATUS_SUCCESS if the histogram was destroyed successfully

Member Function/Subroutine Documentation

◆ hipranddestroydistribution_()

integer(kind(hiprand_status_success)) function hipfort_hiprand::hipranddestroydistribution::hipranddestroydistribution_ ( type(c_ptr), value  discrete_distribution)

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