Visible to Intel only — GUID: GUID-668B9299-7EDF-4263-9808-4EF093C2C2F1
Visible to Intel only — GUID: GUID-668B9299-7EDF-4263-9808-4EF093C2C2F1
fsycl-id-queries-fit-in-int
Tells the compiler to assume that SYCL ID queries fit within MAX_INT.
Linux: |
-fsycl-id-queries-fit-in-int -fno-sycl-id-queries-fit-in-int |
Windows: |
-fsycl-id-queries-fit-in-int -fno-sycl-id-queries-fit-in-int |
None
ON |
The compiler assumes that SYCL ID queries fit within MAX_INT. |
This option tells the compiler to assume that SYCL ID queries fit within MAX_INT. It assumes that the following values fit within MAX_INT:
id class get() member function and operator[]
item class get_id() member function and operator[]
nd_item class get_global_id()/get_global_linear_id() member functions
For more information about these values, see the Khronos* Group SYCL* 1.2.1 Specification.
If you need to use a larger number of work items, use the OFF setting for this option, which is -fno-sycl-id-queries-fit-in-int.
You should carefully evaluate whether you should use the OFF setting when you have a larger number of work items. Truncating to data type int is often incorrect in such circumstances. If the OFF setting is used when the values fit within MAX_INT, it can lead to unexpected performance issues.
When using this option, you must also specify option -fsycl.
For information about available SYCL drivers, refer to Invoke the Compiler.
When SYCL offloading is enabled, this option only applies to device-specific compilation.
None