We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4d19a commit e9f2740Copy full SHA for e9f2740
dpctl/_sycl_device.pyx
@@ -2044,14 +2044,17 @@ cdef class SyclDevice(_SyclDevice):
2044
2045
def get_device_id(self):
2046
""" get_device_id()
2047
- For a parent device, returns the canonical index of this device in the
2048
- list of devices visible to dpctl.
+ For an unpartitioned device, returns the canonical index of this device
+ in the list of devices visible to dpctl.
2049
+
2050
Returns:
2051
int:
2052
The index of the device.
2053
2054
Raises:
2055
ValueError:
2056
If the device is a sub-device.
2057
2058
:Example:
2059
.. code-block:: python
2060
import dpctl
0 commit comments