Skip to content

Commit e9f2740

Browse files
committed
Fix missing line breaks in get_device_id method
1 parent 6b4d19a commit e9f2740

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dpctl/_sycl_device.pyx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,14 +2044,17 @@ cdef class SyclDevice(_SyclDevice):
20442044

20452045
def get_device_id(self):
20462046
""" get_device_id()
2047-
For a parent device, returns the canonical index of this device in the
2048-
list of devices visible to dpctl.
2047+
For an unpartitioned device, returns the canonical index of this device
2048+
in the list of devices visible to dpctl.
2049+
20492050
Returns:
20502051
int:
20512052
The index of the device.
2053+
20522054
Raises:
20532055
ValueError:
20542056
If the device is a sub-device.
2057+
20552058
:Example:
20562059
.. code-block:: python
20572060
import dpctl

0 commit comments

Comments
 (0)