You're viewing an old version of the documentation. Click here to see the latest release.

检查OpenCL驱动程序

本文展示了如何检查您的PC上是否安装了OpenCL驱动程序。

选择您的操作系统:

  1. 下 载 clinfo Windows 二进制文件。

  2. 点击键盘上的Win+R键启动命令提示符,然后输 入 cmd 并 按 Enter 键。

    ../../../_images/run-cmd-windows.png
  3. 导航到包含下载文件 (clinfo.exe) 的目录并执行以下命令:

    clinfo -l
    

    这将打印有关系统上所有OpenCV平台及其公开的设备的综合摘要。

    ../../../_images/cmd_cl_windows.png

如果平台(platform)数量等于0,则需要安装OpenCL驱动程序。最简单的方法是安装最新的GPU驱动程序: