Intel® Advisor User Guide

ID 766448
Date 10/31/2024
Public
Document Table of Contents

set-parallel

Assume loops with specified IDs or source locations are parallel.

GUI Equivalent

Project Properties > Analysis Target > Performance Modeling > Other parameters

Syntax

--set-parallel=<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 are parallel.

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 do not 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-parallel=my_source.cpp:132,my_source.cpp:155 --project-dir=./advi_results

See Also