Intel® C++ Compiler 16.0 User and Reference Guide
Tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.
Linux and OS X: | -parallel |
Windows: | /Qparallel(or /Qpar) |
None
OFF |
Multithreaded code is not generated for loops that can be safely executed in parallel. |
This option tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.
To use this option, you must also specify option O2 or O3.
This option sets option [q or Q]opt-matmul if option O3 is also specified.
On OS X* systems, when you enable automatic parallelization, you must also set the DYLD_LIBRARY_PATH environment variable within Xcode* or an error will be displayed.
Using this option enables parallelization for both Intel® microprocessors and non-Intel microprocessors. The resulting executable may get additional performance gain on Intel microprocessors than on non-Intel microprocessors. The parallelization can also be affected by certain options, such as /arch or /Qx (Windows OS) or -m or -x (Linux OS and OS X).
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice. Notice revision #20110804 |
Visual Studio: Optimization > Parallelization
Eclipse: Optimization > Parallelization
Xcode: Optimization > Parallelization
None