File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1758,7 +1758,8 @@ cdef class SyclDevice(_SyclDevice):
17581758
17591759 @property
17601760 def composite_device (self ):
1761- """ The composite device for a component device, or None for a non-component device.
1761+ """ The composite device for a component device, or ``None`` for a
1762+ non-component device.
17621763
17631764 Returns:
17641765 dpctl.SyclDevice:
@@ -1782,8 +1783,9 @@ cdef class SyclDevice(_SyclDevice):
17821783 List of component devices.
17831784
17841785 Raises:
1785- dpctl.SyclSubdeviceCreationError:
1786- if sub-devices can not be created.
1786+ ValueError:
1787+ If the ``DPCTLDevice_GetComponentDevices`` call returned
1788+ ``NULL`` instead of a ``DPCTLDeviceVectorRef`` object.
17871789 """
17881790 cdef DPCTLDeviceVectorRef cDVRef = NULL
17891791 cDVRef = DPCTLDevice_GetComponentDevices(self ._device_ref)
You can’t perform that action at this time.
0 commit comments