Use Intel VTune Profiler on a Windows machine to profile a sample iso3dfd_omp_offload OpenMP application offloaded onto an Intel GPU. Learn how to run a GPU analysis and examine results.
Download the iso3dfd_omp_offload OpenMP Offload sample.
Open to the sample directory.
cd <sample_dir>\DirectProgramming\C++\StructuredGrids\iso3dfd_omp_offload
Compile the OpenMP Offload application.
mkdir build cd build icx /std:c++17 /EHsc /Qiopenmp /I..\include\ /Qopenmp-targets: spir64 /DUSE_BASELINE /DEBUG ..\src\iso3dfd.cpp ..\src\iso3dfd_verify.cpp ..\src\utils.cpp
You are now ready to run the GPU Offload Analysis on the OpenMP application you compiled.
Open VTune Profiler and click on New Project to create a project.
On the welcome page, click on Configure Analysis to set up your analysis.
Click the Start button to run the analysis.
VTune Profiler collects data and displays analysis results in the GPU Offload viewpoint.