Developer Guide and Reference

  • 2021.2
  • 03/26/2021
  • Public Content

DPCT1022

Message

There is no exact match between the
maxGridSize
and the
max_nd_range
size. Verify the correctness of the code.

Detailed Help

There is no analogue of the
maxGridSize
in SYCL*. SYCL
nd_ranges
can have up to three dimensions, just like grids in CUDA, but there is no maximum of
nd_range
size beyond the data type width, which is
size_t
. The Intel® DPC++ Compatibility Tool replaces the
maxGridSize
with the
max_nd_range_size
helper, which is initialized to the
size_t
width.

Suggestions to Fix

Verify the code correctness.

Product and Performance Information

1

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