Skip to content

Commit 3f8172e

Browse files
[SYCL][Doc] Specify usage of -fsyclbin and -fsycl-device-only together (#18992)
The correct test is already there: https://github.com/intel/llvm/blob/253228255b8c56bc5d4d8919a2020bcc7847f1ac/clang/test/Driver/fsyclbin.cpp#L8-L14
1 parent 2a58675 commit 3f8172e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/doc/design/SYCLBINDesign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ clang-offload-packager invocation to clang-linker-wrapper together with the new
225225
`--syclbin` flag.
226226

227227
Setting this option will override `-fsycl`. Passing`-fsycl-device-only` with
228-
`-fsyclbin` will cause `-fsycl-device-only` to be considered unused.
228+
`-fsyclbin` will cause `-fsyclbin` to be considered unused.
229229

230230
The behavior is dependent on using the clang-linker-wrapper. As the current
231231
default offload compilation behavior is using the old offload model (driver

0 commit comments

Comments
 (0)