Skip to content

Commit 306d9f8

Browse files
Update doc per code review suggestion
1 parent b937fa6 commit 306d9f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_kernel_compiler.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,14 @@ Some notes about the current behavior:
11981198
* In the **very** unlikely event of a hash collision the precompiled preamble
11991199
from the persistent cache is ignored and the source is compiled without it.
12001200

1201+
* Unlike `--auto-pch`, the `--persistent-auto-pch` option indexes the
1202+
precompiled preamble by a hash of the preamble content/compilation options, as
1203+
opposed to using those directly as a key. As a result, there is a highly
1204+
unlikely possibility that two different preambles will produce the same hash
1205+
value. Even if this occurs, the compilation won't fail. However, a compilation
1206+
using the conflicting hash would proceed without pre-compiled preamble support
1207+
as if this option wasn't enabled.
1208+
12011209
=== Known issues and limitations when the language is `sycl`
12021210

12031211
==== Changing the compiler action or output

0 commit comments

Comments
 (0)