Intel® Advisor Help
Prerequisites:
For Data Parallel C++, OpenMP* target, OpenCL™ applications: Set up environment variables to offload temporarily your application to a CPU for the analysis.
In the graphical-user interface (GUI): Create a project and specify an analysis target and target options.
To configure and run the Offload Modeling perspective from the GUI:
To run the Offload Modeling perspective with the Medium accuracy from the command line interface:
Run the Survey analysis:
advisor --collect=survey --project-dir=./advi --stackwalk-mode=online --static-instruction-mix -- myApplication
Collect Trip Counts and FLOP data:
advisor --collect=tripcounts --project-dir=./advi --flop --stacks --enable-cache-simulation --data-transfer=light --target-device=gen11_icl -- myApplication
Run Performance Modeling:
advisor --collect=projection --project-dir=./advi --no-assume-dependencies
See Run Offload Modeling from Command Line for details.
Once the Offload Modeling perspective collects data, the report opens showing a Summary tab with performance metrics estimated for the selected target platform, such as estimated speedup, potential performance bottlenecks, and top offloaded loops. Depending on the selected accuracy level and perspective properties, continue to investigate the results: