Function hip_sys::hiprt::hipDestroyExternalSemaphore
source · pub unsafe extern "C" fn hipDestroyExternalSemaphore(
extSem: *mut c_void
) -> hipError_tExpand description
@brief Destroys an external semaphore object and releases any references to the underlying resource. Any outstanding signals or waits must have completed before the semaphore is destroyed.
@param[in] extSem handle to an external memory object
@return #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue
@see