Intel® Advisor User Guide

ID 766448
Date 12/16/2022
Public

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

Document Table of Contents

data-reuse-analysis

Analyze potential data reuse between code regions.

GUI Equivalent

Analysis Workflow > Offload Modeling > Performance Modeling > Data Reuse Analysis

Syntax

--data-reuse-analysis

--no-data-reuse-analysis

Default

Off (no-data-reuse-analysis)

Actions Modified

collect=offload

collect=tripcounts --enable-data-transfer-analysis

collect=projection

Usage

With collect=offload, this option automatically applies the data-reuse-analysis option to all analyses it runs.

With collect=tripcounts and collect=projeciton, use as one of the following:

  • Use the full data transfer with collect=tripcounts and specify data-reuse-analysis only for collect=projection:

    advisor --collect=tripcounts --flop --data-transfer=full --project-dir=<project-dir> -- <target-application>

    advisor --collect=projection --data-reuse-analysis --project-dir=<project-dir>

  • Enable the basic data transfer analysis with collect=tripcounts and specify data-reuse-analysis for both collect=tripcounts and collect=projection:

    advisor --collect=tripcounts --flop --enable-data-transfer-analysis--data-reuse-analysis --project-dir=<project-dir> -- <target-application>

    advisor --collect=projection --data-reuse-analysis --project-dir=<project-dir>

Example

Run the Offload Modeling with data reuse analysis using a collection preset.

advisor --collect=offload --data-reuse-analysis --project-dir=./advi_results

With the full data transfer analysis:

  1. Run the Survey analysis.

  2. Run Trip Counts and FLOP analyses of the Characterization stage with the full data transfer analysis.

  3. Analyze data reuse when modeling your application performance.

advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --data-transfer=full --project-dir=./advi_results -- ./myApplication
advisor --collect=projection --data-reuse-analysis --project-dir=./advi_results

See Also