Skip to content

Commit 4b03ddb

Browse files
authored
[SYCL] Add more details about the -fintelfpga option (#1218)
Signed-off-by: Andrea Bocci <[email protected]>
1 parent bcefeb3 commit 4b03ddb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sycl/doc/SYCLCompilerUserManual.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,15 @@ your application.
112112

113113
**`-fintelfpga`**
114114

115-
Perform ahead of time compilation for FPGA.
115+
Perform ahead of time compilation for Intel FPGA, which relies on the external tool `aoc`
116+
being available in the `PATH`.
117+
118+
This option is roughly equivalent to `-fsycl-targets=spir64_fpga-unknown-unknown-sycldevice -g -MMD -lOpenCL`.
119+
120+
It is incompatible with `-fsycl-targets=...`; if ahead of time compilation
121+
is needed for multiple backends (e.g. Intel FPGA, Intel GPU, etc.), the
122+
alternative form based on `-fsycl-targets=spir64_fpga-unknown-unknown-sycldevice`
123+
should be used instead.
116124

117125
**`-fsycl-link=<value>`**
118126

0 commit comments

Comments
 (0)