dpctl.SyclDevice.max_compute_units

SyclDevice.max_compute_units

Returns the number of parallel compute units available to the device. The minimum value is 1.

Returns:

The number of compute units in the device.

Return type:

int