This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipeventdestroy Interface Reference

hipeventdestroy Interface Reference#

HIPFORT API Reference: hipfort::hipeventdestroy Interface Reference
hipfort::hipeventdestroy Interface Reference

Destroy the specified event. More...

Public Member Functions

integer(kind(hipsuccess)) function hipeventdestroy_ (event)
 

Detailed Description

Destroy the specified event.

Parameters
[in]eventEvent to destroy.
Returns
hipSuccess, hipErrorNotInitialized, hipErrorInvalidValue, hipErrorLaunchFailure

Releases memory associated with the event. If the event is recording but has not completed recording when hipEventDestroy() is called, the function will return immediately and the completion_future resources will be released later, when the hipDevice is synchronized.

See also
hipEventCreate, hipEventCreateWithFlags, hipEventQuery, hipEventSynchronize, hipEventRecord, hipEventElapsedTime
Returns
hipSuccess

Member Function/Subroutine Documentation

◆ hipeventdestroy_()

integer(kind(hipsuccess)) function hipfort::hipeventdestroy::hipeventdestroy_ ( type(c_ptr), value  event)

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