Function rcudnn_sys::cudaDestroyExternalSemaphore[][src]

pub unsafe extern "C" fn cudaDestroyExternalSemaphore(
    extSem: cudaExternalSemaphore_t
) -> cudaError_t
Expand description

\brief Destroys an external semaphore

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 extSem - External semaphore to be destroyed

\return ::cudaSuccess, ::cudaErrorInvalidResourceHandle \notefnerr \note_init_rt \note_callback \note_destroy_ub

\sa ::cudaImportExternalSemaphore, ::cudaSignalExternalSemaphoresAsync, ::cudaWaitExternalSemaphoresAsync