Intel® Advisor Help

Tab: Memory Access Patterns Report

To access the Memory Access Patterns (MAP) Report tab in the Result tab, click the Refinement Reports tab, or run the Memory Access Patterns (MAP) tool.

The Memory Access Patterns Report is the starting point for viewing problems found by the Intel Advisor Memory Access Patterns (MAP) tool. Use this tab to review the problems found and select the loops you want to analyze by viewing their associated code locations.

Memory Access Patterns (MAP) report consists of the following columns, each providing specific information about your application's memory use:

Use This

To Do This

Double-click any line

View the selected operation's source code.

ID column

View the problem unique ID and source code snippet corresponding to the problem. Intel Advisor gives each problem it finds with the MAP tool a unique ID according to the sequence it finds a problem, thus P stands for "problem".

Use the and buttons to expand or collapse the source code snippet related to the problem.

column

View the problem's severity. Severity is represented by a set of icons:

  • Uniform stride 0
  • Unit stride (stride 1)
  • Constant stride (stride N)
  • Irregular stride
  • Gather (irregular) stride

Stride column

View the memory access stride value. Usually, the less - the better.

Type column

View the type of stride, found in the code:

  • Unit/Uniform types:

    • Unit stride (stride 1) instruction accesses memory that consistently changes by one element from iteration to iteration.

    • Uniform stride 0 instruction accesses the same memory from iteration to iteration.

  • Constant stride (stride N) instruction accesses memory that consistently changes by N elements (N>1) from iteration to iteration.

  • Variable stride types:

    • Irregular stride instruction accesses memory addresses that change by an unpredictable number of elements from iteration to iteration.

    • Gather (irregular) stride, which is detected for v(p)gather* instructions on AVX2 Instruction Set Architecture.

Source column

View source file name and row where the corresponding code resides.

Site Name column

View name of the site in which memory access stride was detected.

Nested Function column

View function (invoked from site) where stride diagnostic was detected.

Modules column

View application modules, where the memory access is issued.

Variable references column

View name of the variable for which the memory access stride is detected.

For global and stack variables, Intel Advisor provides the variable name. Reporting stack variables is enabled in MAP Project Properties by default. You can disable it in the Project Properties menu (find link in See Also below).

For heap-allocated variables, Intel Advisor provides the address of the allocated memory block, the name of the source file that issued allocation, and line number in the source code. Reporting heap-allocated variables is disabled in MAP Project Properties by default. You can enable it in the Project Properties menu (find link in See Also below).

See Also