Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 10/15/2026
Public
Document Table of Contents

fsycl-targets

Tells the compiler to generate code for specified device targets. This option is only valid for linking against SYCL-based objects.

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:

spir64

Tells the compiler to use default heuristics for SPIR64-based devices. This is the default. You can also specify this value as spir64-unknown-unknown.

spir64_x86_64

Tells the compiler to generate code for Intel® CPUs. You can also specify this value as spir64_x86_64-unknown-unknown.

spir64_gen

Tells the compiler to generate code for Intel® Processor Graphics. You can also specify this value as spir64_gen-unknown-unknown. Use of this value will require an additional command line option to specify a specific architecture to target. Using the intel_gpu variants below imply the target desired.

intel_gpu_dg2

Tells the compiler to generate code for Intel® Data Center GPU Max Series. You can also specify this value as intel_gpu_pvc.

intel_gpu_dg1

Tells the compiler to generate code for Intel® Iris® Xe MAX graphics and Intel® Server GPU.

intel_gpu_adl_n

Alder Lake N Intel® graphics architecture

intel_gpu_adl_p

Alder Lake P Intel® graphics architecture

intel_gpu_rpl_s

Raptor Lake Intel® graphics architecture (equal to intel_gpu_adl_s)

intel_gpu_adl_s

Alder Lake S Intel® graphics architecture

intel_gpu_rkl

Rocket Lake Intel® graphics architecture

intel_gpu_tgllp, intel_gpu_tgl, intel_gpu_12_0_0

Tiger Lake Intel® graphics architecture

intel_gpu_jsl

Jasper Lake Intel® graphics architecture (equal to intel_gpu_ehl)

intel_gpu_ehl

Elkhart Lake Intel® graphics architecture

intel_gpu_icllp, intel_gpu_icl, intel_gpu_11_0_0

Ice Lake Intel® graphics architecture

intel_gpu_cml, intel_gpu_9_7_0

Comet Lake Intel® graphics architecture

intel_gpu_aml, intel_gpu_9_6_0

Amber Lake Intel® graphics architecture

intel_gpu_whl, intel_gpu_9_5_0

Whiskey Lake Intel® graphics architecture

intel_gpu_glk, intel_gpu_9_4_0

Gemini Lake Intel® graphics architecture

intel_gpu_bxt

Broxton Intel® graphics architecture (equal to intel_gpu_apl)

intel_gpu_apl, intel_gpu_9_3_0

Apollo Lake Intel® graphics architecture

intel_gpu_cfl, intel_gpu_9_2_9

Coffee Lake Intel® graphics architecture

intel_gpu_kbl, intel_gpu_9_1_9

Kaby Lake Intel® graphics architecture

intel_gpu_skl, intel_gpu_9_0_9

Intel® microarchitecture code name Skylake Intel® graphics architecture

intel_gpu_bdw, intel_gpu_8_0_0

Intel® microarchitecture code name Broadwell Intel® graphics architecture

intel_gpu_cri, intel_gpu_35_11_0

Crescent Island Intel® graphics architecture

intel_gpu_nvl_p, intel_gpu_35_10_0

Nova Lake P Intel® graphics architecture

intel_gpu_ptl

Panther Lake Intel® graphics architecture

intel_gpu_pvc

Intel® Data Center GPU Max Series (Ponte Vecchio)

intel_gpu_bmg_g21

Intel® Arc GPU B580 Graphics

intel_gpu_bmg_g31

Intel® Arc GPU Battlemage (G31)

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. It is only valid for linking against SYCL-based objects.

Normally, option -fsycl-targets is specified when linking an application, in which case the Ahead of Time (AOT) compiled device binaries are embedded within the application's fat executable.

NOTE:

The long syntax values that include -sycldevice, such as spir64-unknown-unknown-sycldevice, are still supported, but they are deprecated.

NOTE:

When using this option, you must also specify option -fsycl.

For information about available SYCL drivers, refer to Invoke the Compiler.

NOTE:

When SYCL offloading is enabled, this option only applies to device-specific compilation.

IDE Equivalent

None

Alternate Options

None

See Also