hipImportExternalSemaphore

Function hipImportExternalSemaphore 

Source
pub unsafe extern "C" fn hipImportExternalSemaphore(
    extSem_out: *mut hipExternalSemaphore_t,
    semHandleDesc: *const hipExternalSemaphoreHandleDesc,
) -> hipError_t
Expand description


@defgroup External External Resource Interoperability @{ @ingroup API

This section describes the external resource interoperability functions of HIP runtime API.

/ /** @brief Imports an external semaphore.

@param[out] extSem_out External semaphores to be waited on @param[in] semHandleDesc Semaphore import handle descriptor

@returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue

@see

@note This API is currently not supported on Linux.