Visible to Intel only — GUID: GUID-B4045BFB-CB89-4FE2-9FDE-4FC96A4F4A01
Visible to Intel only — GUID: GUID-B4045BFB-CB89-4FE2-9FDE-4FC96A4F4A01
vec, Qvec
Enables or disables loop vectorization.
Syntax
Linux: |
-vec -no-vec |
Windows: |
/Qvec /Qvec- |
Arguments
None
Default
-vec |
Loop vectorization is enabled if option O2 or higher is in effect. |
Description
This option enables or disables loop vectorization.
To disable loop vectorization, specify -no-vec (Linux*) or /Qvec- (Windows*).
Using this option enables vectorization at default optimization levels for both Intel® microprocessors and non-Intel microprocessors. Vectorization may call library routines that can result in additional performance gain on Intel microprocessors than on non-Intel microprocessors.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
Alternate Options
None