Offload Compilation, OpenMP*, and Parallel Processing Options
This section contains descriptions for compiler options that pertain to offload compilation, OpenMP*, or parallel processing. They are listed in alphabetical order.
device-math-lib
Enables or disables certain device libraries. This is a deprecated option that may be removed in a future release.
fiopenmp, Qiopenmp
Enables recognition of OpenMP* features and tells the parallelizer to generate multi-threaded code based on OpenMP* directives. This feature is only available for ifx.
fmpc-privatize
Enables or disables privatization of all static data for the MultiProcessor Computing environment (MPC) unified parallel runtime. This feature is only available for ifort.
fopenmp
Option -fopenmp is a deprecated option that will be removed in a future release.
fopenmp-default-allocator, Qopenmp-default-allocator
Tells the compiler that all ALLOCATE statements should be treated as though there were an explicit OpenMP ALLOCATE directive that preceded them. This feature is only available for ifx.
fopenmp-device-lib
Enables or disables certain device libraries for an OpenMP* target.
fopenmp-target-buffers, Qopenmp-target-buffers
Enables a way to overcome the problem where some OpenMP* offload SPIR-V* devices produce incorrect code when a target object is larger than 4GB. This feature is only available for ifx.
fopenmp-targets, Qopenmp-targets
Enables offloading to a specified GPU target if OpenMP* features have been enabled. This feature is only available for ifx.
fsycl
Enables linking Fortran object files with SYCL-based object files. This feature is only available for ifx.
fsycl-dead-args-optimization
Enables elimination of SYCL dead kernel arguments. This feature is only available for ifx.
fsycl-device-code-split
Specifies a SYCL* device code module assembly. This feature is only available for ifx.
fsycl-device-lib
Enables or disables certain device libraries for a SYCL* target. This feature is only available for ifx.
fsycl-instrument-device-code
Enables or disables linking of the Instrumentation and Tracing Technology (ITT) device libraries for VTune™. This feature is only available for ifx.
fsycl-link-huge-device-code
Tells the compiler to place device code later in the linked binary. This is to prevent 32-bit PC-relative relocations between surrounding Executable and Linkable Format (ELF) sections when the device code is larger than 2GB. This feature is only available for ifx.
ftarget-compile-fast
Tells the compiler to perform less aggressive optimizations to reduce compilation time at the expense of generating less optimal target code. This is an experimental feature.This feature is only available for ifx.
nolibsycl
Disables linking of the SYCL* runtime library. This feature is only available for ifx.
par-num-threads, Qpar-num-threads
Specifies the number of threads to use in a parallel region. This feature is only available for ifort.
par-runtime-control, Qpar-runtime-control
Generates code to perform runtime checks for loops that have symbolic loop bounds. This feature is only available for ifort.
par-schedule, Qpar-schedule
Lets you specify a scheduling algorithm for loop iterations. This feature is only available for ifort.
par-threshold, Qpar-threshold
Sets a threshold for the auto-parallelization of loops. This feature is only available for ifort.
parallel, Qparallel
Tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel. This feature is only available for ifort.
parallel-source-info, Qparallel-source-info
Enables or disables source location emission when OpenMP* or auto-parallelism code is generated. This feature is only available for ifort.
qopenmp, Qopenmp
Enables recognition of OpenMP* features and tells the parallelizer to generate multi-threaded code based on OpenMP* directives.
qopenmp-lib, Qopenmp-lib
Lets you specify an OpenMP* runtime library to use for linking. This feature is only available for ifort.
qopenmp-link
Controls whether the compiler links to static or dynamic OpenMP* runtime libraries.
Qpar-adjust-stack
Tells the compiler to generate code to adjust the stack size for a fiber-based main thread. This feature is only available for ifort.
Xopenmp-target
Enables options to be passed to the specified tool in the device compilation tool chain for the target. This feature is only available for ifx.