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.
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-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.
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 run-time 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* run-time library to use for linking. This feature is only available for ifort.
qopenmp-link
Controls whether the compiler links to static or dynamic OpenMP* run-time 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 compiler option supports OpenMP* offloading.This feature is only available for ifx.