Developer Guide and Reference

Contents

fsycl-targets

Tells the compiler to generate code for specified devices.
This content is specific to
DPC++
.

Syntax

Linux:
-fsycl-targets
=
T1
,...,
Tn
Windows:
-fsycl-targets
=
T1
,...,
Tn
Arguments
T
Is a target triple device name. You can specify more than one
T
. The following triplets are supported:
spir64-unknown-unknown-sycldevice
This is the default.
spir64_x86_64-unknown-unknown-sycldevice
For Intel® CPUs
spir64_fpga-unknown-unknown-sycldevice
For Intel® FPGA
spir64_gen-unknown-unknown-sycldevice
For Intel® Processor Graphics
Default
spir64-unknown-unknown-sycldevice
This value is ON by default.
Description
This option tells the compiler to generate code for specified devices.
IDE Equivalent
Visual Studio:
DPC++ > General > Specify SYCL offloading targets for AOT compilation
Eclipse:
Intel(R) oneAPI DPC++ Compiler > General > Specify SYCL offloading targets for AOT compilation
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.