Skip to content

Commit 3ec98e3

Browse files
committed
correct MemoryUSMDevice to MemoryIPCDevice in docstrings
1 parent 0a67e67 commit 3ec98e3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dpctl/memory/_memory.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ cdef class IPCMemoryHandle:
10371037
transport (e.g. via pickle, ZMQ, shared-memory).
10381038
10391039
On the receiving side, call :meth:`IPCMemoryHandle.open` with the
1040-
payload and a target device to obtain a :class:`MemoryUSMDevice`
1040+
payload and a target device to obtain a :class:`MemoryIPCDevice`
10411041
backed by the IPC-mapped memory.
10421042
10431043
Parameters
@@ -1167,7 +1167,7 @@ cdef class IPCMemoryHandle:
11671167
11681168
Returns
11691169
-------
1170-
MemoryUSMDevice
1170+
MemoryIPCDevice
11711171
A USM device memory object backed by the IPC-mapped pointer.
11721172
Call :meth:`close_mapping` when done.
11731173
@@ -1295,7 +1295,7 @@ def SyclIPCOpenMemHandle(bytes handle_bytes not None,
12951295
SyclDevice device not None,
12961296
Py_ssize_t nbytes,
12971297
SyclContext context=None):
1298-
"""Open an IPC handle and return a mapped MemoryUSMDevice.
1298+
"""Open an IPC handle and return a mapped MemoryIPCDevice.
12991299
13001300
Parameters
13011301
----------
@@ -1310,7 +1310,7 @@ def SyclIPCOpenMemHandle(bytes handle_bytes not None,
13101310
13111311
Returns
13121312
-------
1313-
MemoryUSMDevice
1313+
MemoryIPCDevice
13141314
Mapped IPC memory. Must be closed with :func:`SyclIPCCloseMemHandle`.
13151315
"""
13161316
return IPCMemoryHandle.open(handle_bytes, device, nbytes, context)

0 commit comments

Comments
 (0)