OpenCL Driver Check

This article demonstrates how to check whether OpenCL driver is installed on your PC. Select your OS:

Windows

  1. Download clinfo Windows binary file from https://github.com/Oblomov/clinfo.

  2. Launch the Command Prompt by pressing Win + R keys on the keyboard, then type cmd and press Enter.

  3. Navigate to the directory that contains the downloaded file (clinfo.exe) and execute the following command:

    This will print a synthetic summary about all OpenCV platforms on the system and the devices they expose.


    In case the number of platforms is equal to 0 you need to install the OpenCL driver. The simplest way to do this is by installing the latest GPU drivers:

Ubuntu

  1. Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard, then execute the following commands:

    This will print all available information about all OpenCL platforms on the system and the devices they expose.

    If clinfo doesn't print anything, you might have to add your user to group Video.
    In case the number of platforms is equal to 0 you need to install the OpenCL driver.