Tells the compiler to generate code for specified device targets. This content is specific to DPC++.
Linux: | -fsycl-targets=T1,...,Tn |
Windows: | -fsycl-targets=T1,...,Tn |
T |
Is a target triple device name. If you specify more than one T, they must be separated by commas. The following triplets are supported:
|
spir64 |
The compiler will use default heuristics for SPIR64-based devices. |
This option tells the compiler to generate code for specified device targets.
The long syntax values that include -sycldevice, such as spir64-unknown-unknown-sycldevice, are still supported, but they are deprecated.
Visual Studio: DPC++ > General > Specify SYCL offloading targets for AOT compilation
Eclipse: Intel® oneAPI DPC++ Compiler > General > Specify SYCL offloading targets for AOT compilation
None