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

filter-by-scope

Enable filtering detected stack variables by scope (warning vs. error) in a Dependencies analysis.

GUI Equivalent

Project Properties > Analysis Target > Dependencies Analysis > Advanced > Filter stack variables by scope

Syntax

--filter-by-scope

--no-filter-by-scope

Default

Off (no-filter-by-scope)

Actions Modified

collect=dependencies

Usage

Variables initiated inside the specified loop(s) are considered potential dependencies (warning). Variables initiated outside the specified loop(s) are considered dependencies (error).

Disabling can decrease collection overhead.

Example

Run a Dependencies analysis. Analyze innermost scalar loops. Filter detected stack variables by scope.

advisor --collect=dependencies --loops="scalar,loop-height=0" --filter-by-scope --project-dir=./advi_results -- ./myApplication 

See Also