# fsycl-id-queries-fit-in-int

Tells the compiler to assume that SYCL ID queries fit within MAX_INT. This content is specific to DPC++.

## Syntax

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

## Arguments

None

## Default

ON | The compiler assumes that SYCL ID queries fit within MAX_INT.

## Description

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.

### CAUTION

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.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Offload Compilation Options, OpenMP* Options, and Parallel Processing Options