Tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.
Windows: Optimization > Parallelization
Linux: Optimization > Parallelization
Mac OS X: Optimization > Parallelization
IA-32, Intel® 64, IA-64 architectures
Linux and Mac OS X: | -parallel |
Windows: | /Qparallel |
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.
On Mac 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.
None