Enables or disables OpenMP* SIMD compilation.
Linux and macOS:
- OpenMP* SIMD compilation is enabled if optionO2or higher is in effect.OpenMP* SIMD compilation is always disabled at optimization levels ofO1or lower.When optionO2or higher is in effect, OpenMP SIMD compilation can only be disabled by specifying option-qno-openmp-simdor/Qopenmp-simd-. It is not disabled by specifying option-qno-openmpor/Qopenmp-.
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.
If you specify this option with the
[q or Q]openmpoption, it can impact other OpenMP features.
Consider the following:
-qno-openmp -qopenmp-simd ! Linux or/Qopenmp- /Qopenmp-simd ! WindowsmacOS*
The above is 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