cubecl_hip_sys

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

@return #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue

@see