cubecl_hip_sys

Function hipDestroyExternalSemaphore

Source
pub unsafe extern "C" fn hipDestroyExternalSemaphore(
    extSem: hipExternalSemaphore_t,
) -> hipError_t
Expand 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