Intel® Advisor Help
Intel® Advisor Memory Access Patterns tool runs your serial program's executable and watches its memory access operations in great detail to predict possible issues. After you fix any found issues in the source code, run the Memory Access Patterns tool again to check the modified program's memory access strides.
Before you run the Memory Access Patterns tool, do the following:
Mark Loops for deeper analysis:
Run the Survey Analysis to define hot loops, then mark loops for deeper analysis in the Survey Report window of the Advisor GUI.
In Advisor CLI use the --report survey command to view the Survey Report, where you can find IDs of the loops that you need to analyze.
Another way to get the target loop ID is to open the already collected Survey Report in Advisor GUI, mark loops for deeper analysis, and then click Command Line in the Advisor Workflow tab to see what you need to type into the command line to run the collection of a specific loop.
Annotate sources , which is an alternative to marking loops for deeper analysis. Add Intel Advisor annotations into your sources. This tool uses the executed annotations to define the loops that you need to analyze. In case of using annotations, you need to build the application in Debug mode. See Annotating Parallel Sites and Tasks for details.
Choose a reduced data set that allows this tool to predict data sharing problems, as described in Choosing a Small, Representative Data Set.
To run the Memory Access Patterns tool, do one of the following:
Within Microsoft Visual Studio* click Tools > Intel Advisor XE 2016 > Start Memory Access Patterns Analysis.
In the Advisor Workflow tab, click the Collect button in the 2.2 Check Memory Access Patters group box.
In the Intel Advisor toolbar click the MAP icon.
In the Advisor CLI, specify the following:
advixe-cl --collect map --project-dir <pdir> -- <application>
where <pdir> is the project root directory, and <application> is the name of the target program.