Skip to content

Commit 4d248cb

Browse files
committed
Add section about -fsycl-id-queries-fit-in-int
Signed-off-by: John Pennycook <[email protected]>
1 parent c53b75b commit 4d248cb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_range_type.asciidoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,19 @@ struct SmallKernel
147147
q.parallel_for(2147483648, SmallKernel());
148148
```
149149

150+
== Interaction with the {dpcpp} "-fsycl-id-queries-fit-in-int" option
151+
152+
The `-fsycl-id-queries-fit-in-int` option is specific to the {dpcpp}
153+
implementation.
154+
Therefore, this section that describes the interaction between this extension
155+
and that option is non-normative and does not apply to other SYCL
156+
implementations that may support this extension.
157+
158+
If a translation unit is compiled with the `-fsycl-id-queries-fit-in-int`
159+
option, all kernels and `SYCL_EXTERNAL` functions without an explicitly
160+
specified `range_type` property are compiled as-if `range_type<int>` was
161+
specified as a property of that kernel or function.
162+
150163
== Issues
151164

152165
None.

0 commit comments

Comments
 (0)