dpctl.SyclDevice.max_num_sub_groups

SyclDevice.max_num_sub_groups

Returns the maximum number of sub-groups in a work-group for any kernel executed on the device. The minimum value is 1.

Returns:

The maximum number of sub-groups support per work-group by the device.

Return type:

int