rocrand_destroy_discrete_distribution Interface Reference

rocrand_destroy_discrete_distribution Interface Reference#

HIPFORT API Reference: hipfort_rocrand::rocrand_destroy_discrete_distribution Interface Reference
hipfort_rocrand::rocrand_destroy_discrete_distribution Interface Reference

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

Public Member Functions

integer(kind(rocrand_status_success)) function rocrand_destroy_discrete_distribution_ (discrete_distribution)
 

Detailed Description

Destroy the histogram array for a discrete distribution.

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

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

Member Function/Subroutine Documentation

◆ rocrand_destroy_discrete_distribution_()

integer(kind(rocrand_status_success)) function hipfort_rocrand::rocrand_destroy_discrete_distribution::rocrand_destroy_discrete_distribution_ ( type(c_ptr), value  discrete_distribution)

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