warp.event_from_ipc_handle#

warp.event_from_ipc_handle(handle, device=None)[source]#

Create an event from an IPC handle.

Parameters:
  • handle – The interprocess event handle for an existing CUDA event.

  • device (Device | str | None) – Device to associate with the event.

Returns:

An event created from the interprocess event handle handle.

Raises:

RuntimeError – IPC is not supported on device.

Return type:

Event