Visible to Intel only — GUID: GUID-6AD27D73-48F4-4969-A792-4DC1A43AB63E
Visible to Intel only — GUID: GUID-6AD27D73-48F4-4969-A792-4DC1A43AB63E
profile-gpu
Analyze OpenCL™ and oneAPI Level Zero programs running on Intel® Graphics.
GUI Equivalent
Analysis Workflow > Baseline Device > GPU
Project Properties > Analysis Target > Performance Modeling > GPU
Syntax
--profile-gpu --no-profile-gpu |
Default
Off (no-profile-gpu)
Usage
Prerequisite: Set up system environment to enable GPU kernel profiling.
Use this option to analyze a GPU-enabled application that uses SYCL, OpenMP* target, or OpenCL™ programming model.
- For the GPU Roofline Insights, use this option to analyze code regions running on a CPU and code regions running on a GPU. This option may affect the performance of your application on the CPU side.
- For the Offload Modeling, use this option to analyze only code regions running on a GPU. This is a preview feature.
NOTE:Make sure to use this option with the Survey, Trip Counts, and Performance Modeling analyses.
Example
Run the Roofline analysis and enable GPU profiling to analyze OpenCL™ and oneAPI Level Zero programs running on Intel® Graphics.
advisor --collect=roofline --profile-gpu --project-dir=./advi_results -- ./myApplication
- Run the Survey analysis with the GPU kernel profiling enabled.
- Run the Trip Counts and FLOP analysis with the GPU kernel profiling enabled.
- Run the Performance Modeling with the GPU kernel profiling enabled.
advisor --collect=survey --static-instruction-mix --profile-gpu --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --profile-gpu --project-dir=./advi_results -- ./myApplication
advisor --collect=projection --profile-gpu --project-dir=./advi_results -- ./myApplication