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

threads

Specify the number of parallel threads to use for offload heads.

GUI Equivalent

Project Properties > Analysis Target > Performance Modeling > Other parameters

Syntax

--threads=<integer>

Arguments

<integer> is a number of parallel threads. Specify 0 to let the model decide based on a selected target device configuration.

Default

0

Actions Modified

collect=projection

collect=offload

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 using 3 parallel threads for each offload head.

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 --threads=3 --project-dir=./advi_results

See Also