Intel® C++ Compiler XE 13.1 User and Reference Guides

Using Guided Auto Parallelism in the Eclipse* IDE

The Guided Auto Parallelism (GAP) feature helps you locate portions of your serial code that can be parallelized. When you enable analysis using GAP, the compiler shows code that can increase efficiency by executing through automatic parallelization and vectorization.

Running Analysis on a Project

To start analysis from the Eclipse* IDE:

To receive advice, be sure that auto-parallelization is enabled and that the optimization level is set to -O2 (the default setting) or above. To enable auto-parallelization, select Project > Properties > C/C++ Build Settings > Optimization using the Parallelization property page. To set the optimization level, select Project > Properties > C/C++ Build > Settings > General.

Running Analysis on a File or within a File

Use the Guided Auto Parallelism context menu item to run analysis on the following:

Examples

To illustrate how the various Guided Auto Parallelism settings work together, consider the following scenarios:

Scenario: The GAP analysis setting in the property pages is set to Enabled.

Result: Analysis occurs for the project during all regular project builds. In the property pages define the Analysis settings, and the compiler ignores analysis settings in Intel Guided Auto Parallelism Preferences.

Scenario: The GAP analysis setting in the property pages is set to Disabled and GAP is run from the Intel Tools menu.

Result: Analysis occurs for one build. Default values for this analysis are taken from Intel Guided Auto Parallelism Preferences and can be overridden in the dialog box. Options specified in the property pages are also used, but will be overridden by specified analysis options.

Scenario: The GAP analysis setting in the property pages is set to Disabled, but GAP options are set in Intel Guided Auto Parallelism Preferences.

Result: No analysis occurs, unless explicitly selected in the Intel Tools menu.

See Also


Submit feedback on this help topic