pub unsafe extern "C" fn hipEventDestroy(
event: hipEvent_t,
) -> hipError_t
Expand description
@brief Destroy the specified event.
@param[in] event Event 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 hipEventCreate, hipEventCreateWithFlags, hipEventQuery, hipEventSynchronize, hipEventRecord, hipEventElapsedTime
@returns #hipSuccess