Intel® Advisor Help
Model performance on a target device for specific loops only even if they are not profitable.
If you want to check offload profitability only for specific loops or if your loop of interest is reported as not recommended for offloading to an accelerator, you can model performance only for these loops.
To do this:
advisor --collect=survey --project-dir=<project-dir> --stackwalk-mode=online --static-instruction-mix -- <target-application>
advisor --collect=tripcounts --project-dir=<project-dir> --flop --enable-cache-simulation --target-device=<target> -- <target-application>
For example:
advisor --collect=projection --project-dir=<project-dir> --config=<config> --select=[<file-name1>:<line-number1>,<file-name2>:<line-number2>] --enforce-offload
Open the Offload Modeling results in the Intel® Advisor GUI or view an HTML report. The results will show performance modeled for the selected loops only.