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 theToolsmenu: SelectStarting analysis in this way results in a one-time run for the current project. The default values are taken fromunless you have chosen to override them in the dialog box.
- From the Diagnostics property page: Use theGuided Auto Parallelism Analysisproperty.Specifically, chooseand enable analysis using theGuided Auto Parallelism Analysisproperty. Enabling analysis in the property page allows you to run an analysis as part of a normal projectBuildrequest in Microsoft Visual Studio*. In this mode, GAP-related settings in are ignored, in favor of other GAP-related settings available in the property page.
- From the context menu: Right-click and select.This is equivalent to using theoption on theToolsmenu.
To receive advice for auto parallelization, be sure that certain property page settings are correct. Selectand set
Yesto enable auto