Developer Guide and Reference

Contents

Using Guided Auto Parallelism in Microsoft Visual Studio*

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 guides you to places in your code where you can increase efficiency through automatic parallelization and vectorization.

Running Analysis on a Project

You can start analysis from the Microsoft Visual Studio* IDE in several ways:
  • From the
    Tools
    menu: Select
    Intel Compiler
    Guided Auto Parallelism
    Run Analysis...
    Starting analysis in this way results in a one-time run for the current project. The default values are taken from
    Tools
    Options
    unless you have chosen to override them in the dialog box.
  • From the Diagnostics property page: Use the
    Guided Auto Parallelism Analysis
    property.
    Specifically, choose
    Project
    Properties
    C/C++
    Diagnostics
    and enable analysis using the
    Guided Auto Parallelism Analysis
    property. Enabling analysis in the property page allows you to run an analysis as part of a normal project
    Build
    request in Microsoft Visual Studio*. In this mode, GAP-related settings in
    Tools
    Options
    are ignored, in favor of other GAP-related settings available in the property page.
  • From the context menu: Right-click and select
    Intel Compiler
    Guided Auto Parallelism
    Run Analysis...
    .
    This is equivalent to using the
    Guided Auto Parallelism
    Run Analysis
    option on the
    Tools
    menu.
To receive advice for auto parallelization, be sure that certain property page settings are correct. Select
Project
Properties
C/C++
Optimization [Intel C++]
and set
Parallelization
to
Yes
to enable auto