Visible to Intel only — GUID: GUID-75D5651E-B0B3-4A19-A487-8E04B7EB48D6
Visible to Intel only — GUID: GUID-75D5651E-B0B3-4A19-A487-8E04B7EB48D6
fsycl-targets
Tells the compiler to generate code for specified device targets.
Syntax
Linux: |
-fsycl-targets=T1,...,Tn |
Windows: |
-fsycl-targets=T1,...,Tn |
Arguments
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:
|
Default
spir64 |
The compiler will use default heuristics for SPIR64-based devices. |
Description
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.
When using this option, you must also specify option -fsycl.
For information about available SYCL drivers, refer to Invoke the Compiler.
When SYCL offloading is enabled, this option only applies to device-specific compilation.
IDE Equivalent
Visual Studio: C/C++ > General > Specify SYCL offloading targets for AOT compilation
DPC++ > General > Specify SYCL offloading targets for AOT compilation
Eclipse: Intel(R) C++ Compiler > General > DPC++ > Specify SYCL offloading targets for AOT compilation
Intel(R) oneAPI DPC++ Compiler > General > DPC++ > Specify SYCL offloading targets for AOT compilation
Alternate Options
None