Configurations for Intel® Processor Graphics (GPU) with OpenVINO™¶
If you have installed OpenVINO Runtime from the archive file, APT, or YUM, follow these steps to work with GPU:
Go to the install_dependencies directory:
Install the Intel® Graphics Compute Runtime for OpenCL™ driver components required to use the GPU plugin and write custom layers for Intel® Integrated Graphics. The drivers are not included in the package. To install it, run this script:
sudo -E ./install_NEO_OCL_driver.sh
If you installed OpenVINO Runtime via PyPI, you can get this script from the OpenVINO repository.
To use the Intel® Iris® Xe MAX Graphics, see the Intel® Iris® Xe MAX Graphics with Linux* page for driver installation instructions.
The script compares the driver version on the system to the current version. If the driver version on the system is higher or equal to the current version, the script does not install a new driver. If the version of the driver is lower than the current version, the script uninstalls the lower version and installs the current version with your permission:
Higher hardware versions require a higher driver version, namely 20.35 instead of 19.41. If the script fails to uninstall the driver, uninstall it manually. During the script execution, you may see the following command line output:
Add OpenCL user to video group
Ignore this suggestion and continue.
You can also find the most recent version of the driver, installation procedure and other information on the Intel® software for general purpose GPU capabilities site.
Optional: Install header files to allow compilation of new code. You can find the header files at Khronos OpenCL™ API Headers.
You’ve completed all required configuration steps to perform inference on processor graphics.
This section will help you check if you require driver installation. Install indicated version or higher.
If your applications offload computation to Intel® Integrated Graphics, you must have the Intel Graphics Driver for Windows installed on your hardware. Download and install the recommended version.
To check if you have this driver installed:
Type device manager in your Search Windows box and press Enter. The Device Manager opens.
Click the drop-down arrow to view the Display adapters. You can see the adapter that is installed in your computer:
Right-click the adapter name and select Properties.
Click the Driver tab to see the driver version.
You are done updating your device driver and are ready to use your GPU.
You can try out the toolkit with:
Developing in Python:
Developing in C++: