Intel® Advisor User Guide

ID 766448
Date 11/07/2023

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Run CPU / Memory Roofline Insights Perspective from GUI

Prerequisite: In the graphical-user interface (GUI): Create a project and specify an analysis target and target options.

To run the CPU / Memory Roofline Insights perspective from the GUI:

  1. Configure the perspective and set analysis properties, depending on desired results:
    • Select a collection accuracy level with analysis properties preset for a specific result:

      • Low: Get the basic CPU Cache-Aware Roofline chart with self data metrics.

      • Medium: Get the detailed Memory-Level Roofline chart with total data metrics and an additional memory usage report.

    • Select the analyses and properties manually to adjust the perspective flow to your needs. The accuracy level is set to Custom.

    The higher accuracy value you choose, the higher runtime overhead is added to your application. The Overhead indicator shows the overhead for the selected configuration. For the Custom accuracy, the overhead is calculated automatically for the selected analyses and properties.

    By default, accuracy is set to Low. For more information, see CPU Roofline Accuracy Presets.

  2. Optional: If you want check for loop-carried dependency, select the Dependencies analysis. For more information about the Dependencies analysis and report, see Find Data Dependencies.
  3. Run the perspective: click button.

    While the perspective is running, you can do the following in the Analysis Workflow tab:

    • Control the perspective execution:
      • Stop data collection and see the already collected data: Click the button.
      • Pause data collection: Click the button.
      • Cancel data collection and discard the collected data: Click the button.
    • Expand an analysis with to control the analysis execution:
      • Pause the analysis: Click the button.
      • Stop the currently running analysis and start the next analysis selected: Click the button.
      • Interrupt execution of all selected analyses and see the already collected data: Click the button.

To run the CPU / Memory Roofline Insights perspective with the Low accuracy from the command line interface:

advisor --collect=roofline --project-dir=./advi_results -- ./myApplication

See Run CPU / Memory Roofline Insights from Command Line for details.

To generate command lines for selected perspective configuration, click the Command Line button.

Once the CPU / Memory Roofline Insights perspective collects data, the report opens showing a Summary tab. Continue to investigate the results:

After you run the CPU / Memory Roofline Insights perspective, the collected Survey data becomes available for all other perspectives. If you switch to another perspective, you can skip the Survey step and run only perspective-specific analyses.