Visible to Intel only — GUID: GUID-C831C2E9-CF6B-487F-9804-84A07307091A
Visible to Intel only — GUID: GUID-C831C2E9-CF6B-487F-9804-84A07307091A
qopenmp-simd, Qopenmp-simd
Enables or disables OpenMP* SIMD compilation.
Syntax
Linux: |
-qopenmp-simd -qno-openmp-simd |
Windows: |
/Qopenmp-simd /Qopenmp-simd- |
Arguments
None
Default
-qopenmp-simd or /Qopenmp-simd |
OpenMP* SIMD compilation is enabled if the following option is in effect:
OpenMP* SIMD compilation is always disabled at this optimization level:
When OpenMP* SIMD compilation is in effect because of the setting of option O, the OpenMP SIMD compilation can only be disabled by specifying option -qno-openmp-simd or /Qopenmp-simd-. OpenMP SIMD compilation is not disabled by specifying option -qno-openmp or /Qopenmp-. |
Description
This option enables or disables OpenMP* SIMD compilation.
You can use this option if you want to enable or disable the SIMD support with no impact on other OpenMP features. In this case, no OpenMP runtime library is needed to link and the compiler does not need to generate OpenMP runtime initialization code.
When you specify [q or Q]openmp, it implies [q or Q]openmp-simd.
If you specify this option with the [q or Q]openmp option, it can impact other OpenMP features.
IDE Equivalent
NoneAlternate Options
ifort: None
On ifx:
Linux: -fopenmp-simd and -fiopenmp-simd
Windows: /Qiopenmp-simd
Example
The lines in the following example are equivalent to specifying only [q or Q]openmp-simd. In this case, only SIMD support is provided, the OpenMP* library is not linked, and only the !$OMP directives related to SIMD are processed:
Linux
-qno-openmp -qopenmp-simd
Windows
/Qopenmp- /Qopenmp-simd
In the following example, SIMD support is provided, the OpenMP library is linked, and OpenMP runtime initialization code is generated:
Linux
-qopenmp -qopenmp-simd
Windows
/Qopenmp /Qopenmp-simd