From 69203c2d4d2a9bd79d4e7b09db6f6fb888a1dd55 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 23 Jul 2025 17:21:21 +0200 Subject: [PATCH] Set a link to DLDeviceType enum from __dlpack_device__() docstring --- dpctl/tensor/_usmarray.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dpctl/tensor/_usmarray.pyx b/dpctl/tensor/_usmarray.pyx index 6e84b7c801..0e42b42faf 100644 --- a/dpctl/tensor/_usmarray.pyx +++ b/dpctl/tensor/_usmarray.pyx @@ -1325,8 +1325,8 @@ cdef class usm_ndarray: allocated, or the non-partitioned parent device of the allocation device. - See ``DLDeviceType`` for a list of devices supported by the DLPack - protocol. + See :class:`dpctl.tensor.DLDeviceType` for a list of devices supported + by the DLPack protocol. Raises: DLPackCreationError: