Passes options to the backend tool. This content is specific to DPC++.
Linux: | -Xs -option or -Xsoption |
Windows: | -Xs -option or -Xsoption |
option |
Is the option that you want to pass to the backend tool in device compilation. To see the values you can use for option, specify compiler option -fsycl-help to display the help information for the offline tools. |
OFF |
No options are passed to the backend tool. |
This option passes options to the backend tool. It is a shortcut for option Xsycl-target-backend.
For example, the following option (using syntax form -Xsoption):
-Xsversion
and the following option (using syntax form -Xs -option):
-Xs -version
are both equivalent to specifying:
-Xsycl-target-backend -version
When using Ahead of Time (AOT) compilation, the options passed with -Xs are not compiler options.
To see a list of the options you can pass with -Xs when using AOT, specify -fsycl-help=gen, -fsycl-help=x86_64, or -fsycl-help=fpga on the command line.
Visual Studio: Linker > General > Enable FPGA hardware build
Eclipse: Linker > General > Enable FPGA hardware build
None