Skip to content

Commit c99d791

Browse files
committed
Tweak to dpctl.SyclPlatform.get_devices docstring
1 parent 226aed7 commit c99d791

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dpctl/_sycl_platform.pyx

+3-2
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,11 @@ cdef class SyclPlatform(_SyclPlatform):
382382
the given :class:`dpctl.device_type`.
383383
384384
Args:
385-
device_type (optional):
385+
device_type (str, :class:`dpctl.device_type`):
386386
A :class:`dpctl.device_type` enum value or a string that
387387
specifies a SYCL device type. Currently, accepted values are:
388-
"gpu", "cpu", "accelerator", or "all".
388+
"gpu", "cpu", "accelerator", or "all", and their equivalent
389+
``dpctl.device_type`` enumerators.
389390
Default: ``dpctl.device_type.all``.
390391
391392
Returns:

0 commit comments

Comments
 (0)