Function rcudnn::cudaIpcOpenEventHandle[][src]

pub unsafe extern "C" fn cudaIpcOpenEventHandle(
    event: *mut *mut CUevent_st,
    handle: cudaIpcEventHandle_st
) -> cudaError
Expand description

\brief Opens an interprocess event handle for use in the current process

Opens an interprocess event handle exported from another process with ::cudaIpcGetEventHandle. This function returns a ::cudaEvent_t that behaves like a locally created event with the ::cudaEventDisableTiming flag specified. This event must be freed with ::cudaEventDestroy.

Performing operations on the imported event after the exported event has been freed with ::cudaEventDestroy will result in undefined behavior.

IPC functionality is restricted to devices with support for unified addressing on Linux operating systems. IPC functionality is not supported on Tegra platforms.

\param event - Returns the imported event \param handle - Interprocess handle to open

\returns ::cudaSuccess, ::cudaErrorMapBufferObjectFailed, ::cudaErrorNotSupported, ::cudaErrorInvalidValue, ::cudaErrorDeviceUninitialized \note_init_rt \note_callback

\sa ::cudaEventCreate, ::cudaEventDestroy, ::cudaEventSynchronize, ::cudaEventQuery, ::cudaStreamWaitEvent, ::cudaIpcGetEventHandle, ::cudaIpcGetMemHandle, ::cudaIpcOpenMemHandle, ::cudaIpcCloseMemHandle, ::cuIpcOpenEventHandle