Tells the compiler to generate code for specified devices. This content is specific to DPC++.
Linux: | -fsycl-targets=T1,...,Tn |
Windows: | -fsycl-targets=T1,...,Tn |
T |
Is a target triple device name. You can specify more than one T. The following triplets are supported:
|
spir64-unknown-unknown-sycldevice |
This value is ON by default. |
This option tells the compiler to generate code for specified devices.
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