Tells the compiler to use the specified compiler for the host compilation of the overall offloading compilation that is performed.
Linux: | -fsycl-host-compiler=arg |
Windows: | -fsycl-host-compiler=arg |
arg |
Is the compiler that will be the host for compilation. It can be the name of a compiler or the specific path to the compiler. |
OFF |
The host compilation will be performed by the Intel® DPC++ Compiler. |
This option tells the compiler to use the specified compiler for the host compilation of the overall offloading compilation that is performed.
When using the icx/icpx compiler driver for this option, you must also specify option -fsycl.
When using the dpcpp compiler driver, option -fsycl is implied by default.
None
Consider the following:
-fsycl-host-compiler=g++ // the compiler looks for g++ in the current path -fsycl-host-compiler=/usr/bin/g++ // the compiler looks for g++ in the explicit path