pub unsafe extern "C" fn hipIpcGetEventHandle(
    handle: *mut hipIpcEventHandle_st,
    event: *mut ihipEvent_t
) -> hipError_t
Expand description

@brief Gets an opaque interprocess handle for an event.

This opaque handle may be copied into other processes and opened with hipIpcOpenEventHandle. Then hipEventRecord, hipEventSynchronize, hipStreamWaitEvent and hipEventQuery may be used in either process. Operations on the imported event after the exported event has been freed with hipEventDestroy will result in undefined behavior.

@param[out] handle Pointer to hipIpcEventHandle to return the opaque event handle @param[in] event Event allocated with hipEventInterprocess and hipEventDisableTiming flags

@returns #hipSuccess, #hipErrorInvalidConfiguration, #hipErrorInvalidValue