Auto-Parallelization Options Quick Reference

These options are supported on all Intel architectures.

Using the -parallel (Linux* OS) or the /Qparallel (Windows* OS) 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) or -m or -x (Linux and Mac OS X).

Linux* and Mac OS* X

Windows*

Description

-parallel

/Qparallel

Enables the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.

Depending on the program and level of parallelization desired, you might need to set the KMP_STACKSIZE environment variable to an appropriately large size.

-par-threshold(n)

/Qpar-threshold[:n]

Sets a threshold for the auto-parallelization of loops based on the probability of profitable execution of the loop in parallel; valid values of n can be 0 to 100.

Note iconNote

You must use this option along with the -parallel (Linux) or /Qparallel (Windows) compiler option.

-par-schedule-keyword

/Qpar-schedule-keyword

Specifies the scheduling algorithm or a tuning method for loop iterations. It specifies how iterations are to be divided among the threads of the team.

-par-report

/Qpar-report

Controls the diagnostic levels in the auto-parallelizer optimizer.

-par-runtime-control

/Qpar-runtime-control

Generates code to perform run-time checks for loops that have symbolic loop bounds. If the granularity of a loop is greater than the parallelization threshold, the loop is executed in parallel.

Refer to Quick Reference Lists for a complete listing of the quick reference topics.


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.