Find Data Dependencies
Prerequisites
Collect Survey data and select loops for the analysis from the
column in the Survey report.

Accuracy Level
Custom
Enabled Analyses
Dependencies
Collecting Dependencies data may substantially increase report generation time. There are a variety of techniques available to minimize data collection, result size, and execution time. Check
Minimize Analysis Overhead.
Result Interpretation
For safety purposes, compiler is often conservative when assuming data dependencies. The Dependencies analysis checks for real data dependencies in loops the compiler did not vectorize because of assumed dependencies and provides recommendations to help resolve the dependencies if detected.
The Dependencies analysis is not enabled in any of the accuracy presets by default. Select it manually from the
Analysis Workflow
tab before executing the perspective.

- Click a loop in the top pane to see a detailed report for each dependency found in this loop below in theDependencies Reporttab.
- Use theDependencies Reportto view each reported problem and its associated code locations.
- If no dependencies found, it is safe to force vectorization.
- For loops/functions with real dependencies, Intel Advisor reports dependency type and severity in the Loop-Carried Dependency column in the top pane.
- Use theDependencies Sourcewindow to view the focus and related source code regions to help you understand the cause of the reported problem.
- Use theCode Locationswindow to view the focus and related source code regions to help you understand the cause of the reported problem.
- To learn about a reported problem, right-click its name in theDependencies Report,Problems and Messagespane and selectWhat Should I Do Next?. This displays the help topic for that problem type with recommendations on how to resolve the dependency.
- Double-click a problem in theDependencies Report,Problems and Messagespane to open the Dependencies Source tab and examine the problem in more detail.
Dependencies Report Overview
In the
Dependencies Report
tab at the bottom of the
Refinement Report
, review the following panes:
- Problems and Messagespane -Select the problems that you want to analyze by viewing their associated observations.
- Code Locationspane -View details about the code locations for the selected problem in theDependencies Reportwindow. Icons identify the focus code location
and related code location
.
- Filterspane -Filter contents of the report tab.
Associated
Dependencies Source
window, from top left to bottom right:
- Focus Code Locationpane -Use this pane to explore source code associated with focus code location in theDependencies Sourcewindow.
- Focus Code Location Call Stackpane -Use this pane to select which source code appears in theFocus Code Locationpane in theDependencies Sourcewindow.
- Related Code Locationspane -Use this pane to explore source code associated with related code locations (related to the focus code location) in theDependencies Sourcewindow.
- Related Code Location Call Stackpane -Use this pane to select which source code appears in theRelated Code Locationpane.
- Code Locationspane -Use this pane to view the details about the code location for the selected problem in theDependencies Reportwindow.
- Relationship Diagrampane -Use this pane to view the relationships among code locations for the selected problem.