dpctl.SyclDevice.partition_max_sub_devices

SyclDevice.partition_max_sub_devices

The maximum number of sub-devices this dpctl.SyclDevice instance can be partitioned into. The value returned cannot exceed the value returned by dpctl.SyclDevice.max_compute_units.

Returns:

The maximum number of sub-devices that can be created when this device is partitioned. Zero value indicates that device can not be partitioned.

Return type:

int