dpctl.SyclDevice.partition_type_property

SyclDevice.partition_type_property

Returns the partition property of this device if it is a sub-device, or partition_property.no_partition if it is not a sub-device.

Returns:

The partition property that was used to create this device.

Return type:

dpctl.partition_property

Raises:

RuntimeError – If an unrecognized partition property is reported by runtime.