Developer Guide and Reference

  • 2021.4
  • 09/27/2021
  • Public Content

DPCT1049

Message

The workgroup size passed to the SYCL kernel may exceed the limit. To get the device limit, query
info::device::max_work_group_size
. Adjust the workgroup size if needed.

Detailed Help

The workgroup size passed to the SYCL* kernel for SYCL device has a limit (see SYCL 1.2.1 standard, 4.6.4.2 Device information descriptors).
This warning appears if dimensions of the local range could not all be evaluated, or if the product of the dimensions of the local range is more than 256.

Suggestions to Fix

Query
info::device::max_work_group_size
to define the workgroup size limit for the device you use. If the workgroup size used in the code is below the limit, you can ignore this warning. Otherwise, you need to decrease the workgroup size.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.