pyarrow.cuda.IpcMemHandle

class pyarrow.cuda.IpcMemHandle

Bases: object

A serializable container for a CUDA IPC handle.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

from_buffer Create IpcMemHandle from opaque buffer (e.g.
serialize Write IpcMemHandle to a Buffer
static from_buffer()

Create IpcMemHandle from opaque buffer (e.g. from another process)

Parameters:
  • opaque_handle – a CUipcMemHandle as a const void*
  • Results
  • -------
  • ipc_handle (IpcMemHandle) –
serialize()

Write IpcMemHandle to a Buffer

Parameters:pool ({MemoryPool, None}) – Specify a pool to allocate memory from
Returns:buf (Buffer) – The serialized buffer.