Configurations for Intel® Processor Graphics (GPU) with OpenVINO™

To use the OpenVINO™ GPU plug-in and transfer the inference to the graphics of the Intel® processor (GPU), the Intel® graphics driver must be properly configured on the system.

Linux

To use a GPU device for OpenVINO inference, you must install OpenCL runtime packages.

If you are using a discrete GPU (for example Arc 770), you must also be using a supported Linux kernel as per documentation.

  • For Arc GPU, kernel 6.2 or higher is recommended.

  • For Max and Flex GPU, or Arc with kernel version lower than 6.2, you must also install the intel-i915-dkms and xpu-smi kernel modules as described in the installation documentation for Max/Flex or Arc.

Below are the instructions on how to install the OpenCL packages on supported Linux distributions. These instructions install the Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM) Driver and its dependencies:

Download and install the deb packages published here and install the apt package ocl-icd-libopencl1 with the OpenCl ICD loader.

Alternatively, you can add the apt repository by following the installation guide. Then install the ocl-icd-libopencl1, intel-opencl-icd, intel-level-zero-gpu and level-zero apt packages:

apt-get install -y ocl-icd-libopencl1 intel-opencl-icd intel-level-zero-gpu level-zero

Ubuntu 20.04 LTS is not updated with the latest driver versions. You can install the updated versions up to the version 22.43 from apt:

apt-get update && apt-get install -y --no-install-recommends curl gpg gpg-agent && \
curl https://repositories.intel.com/graphics/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg && \
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu focal-legacy main' | tee  /etc/apt/sources.list.d/intel.gpu.focal.list && \
apt-get update
apt-get update && apt-get install -y --no-install-recommends intel-opencl-icd intel-level-zero-gpu level-zero

Alternatively, download older deb version from here. Note that older driver version might not include some of the bug fixes and might be not supported on some latest platforms. Check the supported hardware for the versions you are installing.

Follow the guide to add Yum repository.

Install following packages:

yum install intel-opencl level-zero intel-level-zero-gpu intel-igc-core intel-igc-cm intel-gmmlib intel-ocloc

Install the OpenCL ICD Loader via:

rpm -ivh http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ocl-icd-2.2.12-1.el8.x86_64.rpm

Windows

To install the Intel Graphics Driver for Windows on your system, follow the driver installation guide.

To check if you have this driver installed:

  1. Type device manager in your Search Windows box and press Enter. The Device Manager opens.

  2. Click the drop-down arrow to view the Display adapters. You can see the adapter that is installed in your computer:

    _images/DeviceManager.PNG
  3. Right-click the adapter name and select Properties.

  4. Click the Driver tab to see the driver version.

    _images/DeviceDriverVersion.PNG

You are done updating your device driver and ready to use your GPU.

Additional info

For your reference, the following versions of Intel® Graphics Driver were used in the OpenVINO internal validation:

Operation System

Driver version

Ubuntu 22.04

22.43.24595.30

Ubuntu 20.04

22.35.24055

Ubuntu 18.04

21.38.21026

CentOS 7

19.41.14441

RHEL 8

22.28.23726