Developer Guide and Reference

Contents

Using Guided Auto Parallelism

The Guided Auto Parallelism feature of the Intel®
C++
Compiler is a tool offering selective advice to improve the performance of serially-coded applications. The tool suggests changes that take advantage of the compiler's ability to automatically vectorize and parallelize code as well as improve the efficiency of data operations. The tool does not require that you implement threaded code to improve the execution performance of your code, nor does it require that your code is already threaded or parallel code.
To invoke this tool, use the compiler option
[Q]guide
[=n]
. Using this option causes the compiler to generate messages suggesting ways to optimize the performance of your application. You can also use more specific compiler options such as
[Q]guide-vec
,
[Q]guide-par
, and
[Q]guide-data-trans
, to perform individual guided optimizations for vectorizing, parallelizing, and data transformation of your application.
When any guided auto parallelism option is used, the compiler provides only diagnostic advice. Object files or executables are not created in this mode. See the table below for descriptions of the options.
Syntax
Description
[Q]guide
Allows you to set a level of guidance for auto-vectorization and data transformation analysis.
To obtain guidance for auto parallelism, you must use the
[Q]parallel
option along with the
[Q]guide
option.
[Q]guide-par
Allows you to set a level of guidance only for auto parallelism analysis.
You must use the
[Q]parallel
option along with the
[Q]guide-par
option to get this advice.
[Q]guide-vec
Allows you to set a level of guidance for auto-vectorization analysis only.
[Q]guide-data-trans