To analyze performance of GPU kernels in your SYCL, OpenMP* target, or OpenCL™ application with the GPU Roofline Insights or GPU-to-GPU Offload Modeling perspective, you need to configure your system properly:
Install and configure a graphics processing unit (GPU) driver for your system.
To collect GPU hardware metrics and GPU utilization data, Intel Advisor uses the Intel Metric Discovery Application Programming Interface library.
If you already have the library installed and you want to use your local library, make sure you have the correct version as explained below.
Windows* OS
Intel Metric Discovery Application Programming Interface library is part of a GPU driver package. You should have a driver version higher than 27.20.100.8280 for your system.
If you have a lower version of the driver, you can download it from https://downloadcenter.intel.com/.
Linux* OS
Intel Metrics Discovery Application Programming Interface library is supported on Linux OS with kernel version 4.14 or higher. You should have the Intel Metric Discovery Application Programming Interface library 1.6.0 or higher to support the selection of video adapters.
To install the Intel Metric Discovery library, use any of the following options:
To collect GPU hardware metrics, install Intel software packages for general purpose GPU capabilities.
On Windows OS, install a GPU driver for your system from Download Center.
On Linux OS, follows the instructions in the GPGPU Installation Guides to install and configure drivers for your operating system.
On Windows OS, run the Survey step of the perspective as an Administrator.
On Linux OS, run the Survey step of the perspective with root privileges.
If you do not have root permissions on Linux OS, enable collecting GPU hardware metrics for non-privileged users as follows:
groups | grep video
sudo usermod -a -G video <username>
groups | grep render
sudo usermod -a -G render <username>
sysctl -w dev.i915.perf_stream_paranoid=0
echo dev.i915.perf_stream_paranoid=0 > /etc/sysctl.d/60-mdapi.conf
If you have installed the Xe driver instead of the i915 driver, make sure to set dev.xe.observation_paranoid = 0 instead.
sudo update-grub
Next Steps