guide, Qguide

Lets you set a level of guidance for auto-vectorization, auto-parallelization, and data transformation.

IDE Equivalent

Windows: Diagnostics > Guided Auto Parallelism Analysis

Linux: Compilation Diagnostics > Enable Guided Auto Parallelism Analysis

Mac OS X: Diagnostics > Enable Guided Auto Parallelism Analysis

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-guide[=n]

Windows:

/Qguide[:n]

Arguments

n

Is an optional value specifying the level of guidance to be provided.

The values available are 1 through 4. Value 1 indicates a standard level of guidance. Value 4 indicates the most advanced level of guidance. If n is omitted, the default is 4.

Default

OFF

You do not receive guidance about how to improve optimizations for parallelization, vectorization, and data transformation.

Description

This option lets you set a level of guidance (advice) for auto-vectorization, auto-parallelization, and data transformation. It causes the compiler to generate messages suggesting ways to improve these optimizations.

When this option is specified, the compiler does not produce any objects or executables.

You must also specify option –parallel (Linux* OS and Mac OS* X) or /Qparallel (Windows* OS) to receive auto-parallelization guidance.

You can set levels of guidance for the individual guide optimizations by specifying one of the following options:

data transformation
-guide-data-trans (Linux OS and Mac OS X) or /Qguide-data-trans (Windows OS)
auto-parallelization
-guide-par (Linux OS and Mac OS X) or /Qguide-par (Windows OS)
auto-vectorization
-guide-vec (Linux OS and Mac OS X) or /Qguide-vec (Windows OS)

If you specify -guide or /Qguide and also specify one of the options setting a level of guidance for an individual guide optimization, the value set for the individual guide optimization will override the setting specified in -guide or /Qguide.

If you do not specify -guide or /Qguide, but specify one of the options setting a level of guidance for an individual guide optimization, option -guide or /Qguide is enabled with the greatest value passed among any of the three individual guide optimizations specified.

In debug mode, this option has no effect unless option O2 (or higher) is explicitly specified in the same command line.

Note iconNote

You can specify –diag-disable (Linux OS and Mac OS X) or /Qdiag-disable (Windows OS) to prevent the compiler from issuing one or more diagnostic messages.

Alternate Options

None

See Also


Submit feedback on this help topic

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