dpctl.SyclDevice.max_work_item_sizes1d

SyclDevice.max_work_item_sizes1d

Returns the maximum number of work-items that are permitted in each dimension of the work-group of the sycl::nd_range<1>. The minimum value is (1, ) for devices that evaluate to False for has_aspect_custom.

Returns:

A one-tuple with the maximum allowed value for a 1D range used to enqueue a kernel on the device.

Return type:

Tuple[int]