File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
sycl/doc/extensions/experimental Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -647,14 +647,17 @@ _Throws:_
647
647
648
648
=== Including files when the language is `sycl`
649
649
650
- When the source language is `source_language::sycl`, the compiler searches for
651
- files referenced by `#include` statements in the source string in the following
652
- locations, in the given order:
653
-
654
- 1. `include_files` property
655
- 2. Current working directory
656
- 3. Any path added explicitly to the search list via the `build_options` property
657
- 4. Set of implicitly available header files
650
+ When the source language is `source_language::sycl`, the compiler searches
651
+ multiple locations to find files referenced by `#include` statements.
652
+ Any include files defined via the `include_files` property are searched first,
653
+ followed by the directories below, in order:
654
+
655
+ 1. The current working directory.
656
+ 2. Any directory added explicitly to the search list via the `build_options`
657
+ property.
658
+
659
+ Finally, the compiler searches a set of implicitly available header files,
660
+ as defined in the section "Implicitly available headers".
658
661
659
662
==== Adding paths to the search list
660
663
You can’t perform that action at this time.
0 commit comments