Skip to content

Commit be13943

Browse files
joppermPennycook
andauthored
Update sycl/doc/extensions/experimental/sycl_ext_oneapi_kernel_compiler.asciidoc
Co-authored-by: John Pennycook <[email protected]>
1 parent 6fb1cf8 commit be13943

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_kernel_compiler.asciidoc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -647,14 +647,17 @@ _Throws:_
647647

648648
=== Including files when the language is `sycl`
649649

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".
658661

659662
==== Adding paths to the search list
660663

0 commit comments

Comments
 (0)