dpctl.SyclDevice.parent_device¶
- SyclDevice.parent_device¶
Parent device for a sub-device, or None for a root device.
- Returns:
A parent
dpctl.SyclDevice
instance if the device is a sub-device,None
otherwise.- Return type:
Parent device for a sub-device, or None for a root device.
A parent dpctl.SyclDevice
instance if the
device is a sub-device, None
otherwise.