Skip to content

Commit 69203c2

Browse files
committed
Set a link to DLDeviceType enum from __dlpack_device__() docstring
1 parent aa05645 commit 69203c2

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)