pub unsafe extern "C" fn hipIpcOpenEventHandle(
event: *mut hipEvent_t,
handle: hipIpcEventHandle_t,
) -> hipError_t
Expand description
@brief Opens an interprocess event handles.
Opens an interprocess event handle exported from another process with hipIpcGetEventHandle. The returned hipEvent_t behaves like a locally created event with the hipEventDisableTiming flag specified. This event need be freed with hipEventDestroy. Operations on the imported event after the exported event has been freed with hipEventDestroy will result in undefined behavior. If the function is called within the same process where handle is returned by hipIpcGetEventHandle, it will return hipErrorInvalidContext.
@param[out] event Pointer to hipEvent_t to return the event @param[in] handle The opaque interprocess handle to open
@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidContext
@note This IPC event related feature API is currently applicable on Linux.