set-dependency
set-dependency
Assume loops with specified IDs or
source locations have a dependency.
GUI Equivalent
Syntax
--set-dependency
=
<string>
Arguments
<string>
is a comma-separated
list of loop IDs or source locations.
Usage
If the list is empty, assume all loops have a dependency.
--set-dependency
option takes
precedence over
--set-parallel
, so if the loop is listed in both, it is
considered as having a dependency.
Example
- Run Survey Analysis.
- Run Trip Counts and FLOP analyses of the Characterization stage.
- Model your application performance on a target device assuming loops at source locationsmy_source.cpp:132andmy_source.cpp:155have 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