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):
1758
1758
1759
1759
@property
1760
1760
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.
1762
1763
1763
1764
Returns:
1764
1765
dpctl.SyclDevice:
@@ -1782,8 +1783,9 @@ cdef class SyclDevice(_SyclDevice):
1782
1783
List of component devices.
1783
1784
1784
1785
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.
1787
1789
"""
1788
1790
cdef DPCTLDeviceVectorRef cDVRef = NULL
1789
1791
cDVRef = DPCTLDevice_GetComponentDevices(self ._device_ref)
You can’t perform that action at this time.
0 commit comments