Skip to content

Commit 0dbd495

Browse files
authored
Merge pull request #2127 from IntelPython/add-link-to-DLDeviceType
Set a link to DLDeviceType enum from `__dlpack_device__` docstring
2 parents aa05645 + 69203c2 commit 0dbd495

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl/tensor/_usmarray.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,8 +1325,8 @@ cdef class usm_ndarray:
13251325
allocated, or the non-partitioned parent device of the allocation
13261326
device.
13271327
1328-
See ``DLDeviceType`` for a list of devices supported by the DLPack
1329-
protocol.
1328+
See :class:`dpctl.tensor.DLDeviceType` for a list of devices supported
1329+
by the DLPack protocol.
13301330
13311331
Raises:
13321332
DLPackCreationError:

0 commit comments

Comments
 (0)