dpctl.memory.SyclIPCOpenMemHandle¶
- dpctl.memory.SyclIPCOpenMemHandle(handle_bytes, device, nbytes)¶
Open an IPC handle and return a mapped MemoryIPCDevice.
- Parameters:
handle_bytes (bytes) – Opaque payload from
SyclIPCGetMemHandle().device (dpctl.SyclDevice) – Device to map the memory on.
nbytes (int) – Byte size of the original allocation.
- Returns:
Mapped IPC memory. Must be closed with
SyclIPCCloseMemHandle().- Return type: