Visible to Intel only — GUID: GUID-828BA8FF-0A61-4A5D-9F99-9FC6B3172C05
Visible to Intel only — GUID: GUID-828BA8FF-0A61-4A5D-9F99-9FC6B3172C05
fiopenmp, Qiopenmp
Enables recognition of OpenMP* features, such as parallel, simd, and offloading directives. This is an alternate option for compiler option [Q or q]openmp.
Linux: |
-fiopenmp |
Windows: |
/Qiopenmp |
None
OFF |
If this option is not specified, OpenMP* features are not transformed in LLVM*. |
This option enables recognition of OpenMP* features, such as parallel, simd, and offloading directives. This is an alternate option for compiler option [Q or q]openmp.
The -fiopenmp and /Qiopenmp options enable Intel's implementation of OpenMP* in the compiler back end. The compiler front end produces an intermediate representation that preserves the parallelism exposed by OpenMP* directives. The back end uses the exposed parallelism to do more advanced optimizations, such as SIMD vectorization.
To enable offloading to a specified GPU target, you must also specify option fopenmp-targets (Linux*) or /Qopenmp-targets (Windows).
Option -fopenmp is not the same as option -fiopenmp. Option -fopenmp will not do offloading.
Product and Performance Information |
---|
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex. Notice revision #20201201 |
Visual Studio: DPC++ > Language > OpenMP Support
C/C++ > Language [Intel C++] > OpenMP Support
Intel(R) oneAPI DPC++ Compiler > Language > OpenMP Support
Intel C++ Compiler > Language > OpenMP Support
Eclipse: Intel(R) oneAPI DPC++ Compiler > Language > OpenMP Support
Intel C++ Compiler > Language > OpenMP Support
Linux: -qopenmp
Windows: /Qopenmp