Intel® Advisor User Guide

ID 766448
Date 7/13/2023
Public

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

Document Table of Contents

set-dependency

Assume loops with specified IDs or source locations have a dependency.

GUI Equivalent

Project Properties > Analysis Target > Performance Modeling > Other parameters

Syntax

--set-dependency=<string>

Arguments

<string> is a comma-separated list of loop IDs or source locations.

Actions Modified

collect=projection

collect=offload

Usage

If the list is empty, assume all loops have a dependency.

NOTE:

--set-dependency option takes precedence over --set-parallel, so if the loop is listed in both, it is considered as having a dependency.

Example

  1. Run Survey Analysis.

  2. Run Trip Counts and FLOP analyses of the Characterization stage.

  3. Model your application performance on a target device assuming loops at source locations my_source.cpp:132 and my_source.cpp:155 have dependencies.

advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --enable-data-transfer-analysis --project-dir=./advi_results -- ./myApplication
advisor --collect=projection --set-dependency=my_source.cpp:132,my_source.cpp:155 --project-dir=./advi_results

See Also