srb4_linux64,已解决: Can't find opencl driver - Intel Community

Hi,

I follow the instruction to install opencl driver (https://software.intel.com/en-us/articles/OpenVINO-Install-Linux#inpage-nav-4-1).

after the installation and reboot.

I tried the sample

./intel64/Release/classification_sample -i car.png -m ~/openvino_models/ir/squeezenet1.1/squeezenet1.1.xml -d GPU

[ INFO ] InferenceEngine:

API version ............ 1.2

Build .................. 13911

[ INFO ] Parsing input parameters

[ INFO ] Loading plugin

API version ............ 1.2

Build .................. cldnn/GEN_GPU_clDNN_ci-main_cldnn-main-03988_artifacts.zip

Description ....... clDNNPlugin

[ INFO ] Loading network files:

/home/tumh/openvino_models/ir/squeezenet1.1/squeezenet1.1.xml

/home/tumh/openvino_models/ir/squeezenet1.1/squeezenet1.1.bin

[ INFO ] Preparing input blobs

[ WARNING ] Image is resized from (787, 259) to (227, 227)

[ INFO ] Batch size is 1

[ INFO ] Preparing output blobs

[ INFO ] Loading model to the plugin

[ ERROR ] failed to create engine: clGetPlatformIDs error -1001

It seems that the opencl driver can't be found. and clinfo can't find any driver too.

So I check the installed package and got

ii  intel-opencl                                18.28.11080                                         amd64        Intel OpenCL GPU driver

ii  ocl-icd-libopencl1:amd64                    2.2.8-1                                             amd64        Generic OpenCL ICD Loader

I think the driver have been installed. But I have no idea why it can't be found.

Here is the result of running the script you provided (https://software.intel.com/en-us/articles/mss-sys-analyzer-linux)

--------------------------

Hardware readiness checks:

--------------------------

[ OK ] Processor name: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz

--------------------------

OS readiness checks:

--------------------------

[ OK ] GPU visible to OS

--------------------------

Media Server Studio Install:

--------------------------

[ OK ] user in video group

[ ERROR ] libva.so.1 not found. Check LD_LIBRARY_PATH contains '/usr/lib64;/usr/local/lib'

[ ERROR ] libva not loading Intel iHD

[ ERROR ] vainfo not reporting codec entry points

[ ERROR ] no libdrm include files. Are Intel components installed?

--------------------------

Component Smoke Tests:

--------------------------

[ ERROR ] no libva.so. Are Intel components installed?

In file included from /home/tumh/OpenCL-Headers/CL/cl.h:32:0,

from oclcheck_tmp.c:2:

/home/tumh/OpenCL-Headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)

#pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")

^

[ OK ] OpenCL check:

clGetPlatformIDs returns -1001 and no devices are found.

Any idea?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值