cuda.bindings._v2.driver.ipc_open_event_handle#
- cuda.bindings._v2.driver.ipc_open_event_handle(handle) intptr_t#
Opens an interprocess event handle for use in the current process.
Opens an interprocess event handle exported from another process with
cuIpcGetEventHandle. This function returns aCUeventthat behaves like a locally created event with theCU_EVENT_DISABLE_TIMINGflag specified. This event must be freed withcuEventDestroy. Performing operations on the imported event after the exported event has been freed withcuEventDestroywill result in undefined behavior. IPC functionality is restricted to devices with support for unified addressing on Linux and Windows operating systems. IPC functionality on Windows is supported for compatibility purposes but not recommended as it comes with performance cost. Users can test their device for IPC functionality by callingcuapiDeviceGetAttributewithCU_DEVICE_ATTRIBUTE_IPC_EVENT_SUPPORTED.- Parameters:
handle (CUipcEventHandle_v1) – Interprocess handle to open.
- Returns:
Returns the imported event.
- Return type:
intptr_t
See also
cuIpcOpenEventHandle