pyarrow.cuda.IpcMemHandle¶
-
class
pyarrow.cuda.
IpcMemHandle
¶ Bases:
pyarrow.lib._Weakrefable
A serializable container for a CUDA IPC handle.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
Create IpcMemHandle from opaque buffer (e.g.
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.
-