You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][Doc] Update --device-compiler option and remove FPGA support from OffloadDesign.md (#21037)
This PR modifies the backend compiler options passed to
clang-linker-wrapper and removes FPGA descriptions from
OffloadDesign.md. Detailed explanations are below:
1. In PR #20691, we modified the
link-time compiler option to be passed through `--device-compiler`
instead of through `--cpu-tool-arg` and `--gpu-tool-arg`. We update
OffloadDesign.md to include the usage and format of `--device-compiler`.
2. As described in #16929 and PR
#16864, we are removing support for
FPGA features and their related options from DPC++. We update
OffloadDesign.md to remove any FPGA-related descriptions.
---------
Co-authored-by: yixing.zhang <yixingzh@smtp.igk.intel.com>
The `--device-compiler` option uses the format `--device-compiler=[<kind>:][<triple>=]<value>` where:
248
+
-`<kind>` : specifies the offloading kind (e.g., sycl, hip, openmp) and is optional.
249
+
-`<triple>` : specifies the target triple (e.g., `spir64_gen-unknown-unknown`, `spir64_x86_64-unknown-unknown`) and is optional.
250
+
-`<value>` : contains the arguments to be passed to the backend compiler.
251
+
252
+
In clang-linker-wrapper, the `<kind>` and `<triple>` are matched against the current compilation target. Only arguments that match both the offloading kind and target triple will be passed to the backend compiler. If `<kind>` is not specified, the arguments will match any offloading kind; if `<triple>` is not specified, the arguments will match any target triple; and if neither is specified, the arguments will be applied to all targets.
253
+
254
+
#### Other Supported Options
247
255
To complete the support needed for the various targets using the
248
256
`clang-linker-wrapper` as the main interface, a few additional options will
249
257
be needed to communicate from the driver to the tool. Further details of usage
0 commit comments