安装Opencl但是提示找不到
-
已经执行过的命令
sudo add-apt-repository ppa:george-coolpi/mali-g610
sudo apt-get dist-upgradesudo apt-get update
sudo apt install opencl-headers
sudo apt install ocl-icd-libopencl1
sudo apt install ocl-icd-opencl-dev
sudo apt install clinfo
现在是能找到CL头文件但不能找到so相关的库
-
系统是ubuntu22.04的版本
-
通过命令找到了opencl库但是, clinfo还是提示数量是0?
ldconfig -p | grep OpenCL
libOpenCL.so.1 (libc6,AArch64) => /lib/aarch64-linux-gnu/libOpenCL.so.1
libOpenCL.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libOpenCL.so
root@ubuntu:/usr/lib# ls -la /lib/aarch64-linux-gnu/libOpen*
lrwxrwxrwx 1 root root 18 Sep 30 2021 /lib/aarch64-linux-gnu/libOpenCL.so -> libOpenCL.so.1.0.0
lrwxrwxrwx 1 root root 18 Sep 30 2021 /lib/aarch64-linux-gnu/libOpenCL.so.1 -> libOpenCL.so.1.0.0
-rw-r--r-- 1 root root 60856 Sep 30 2021 /lib/aarch64-linux-gnu/libOpenCL.so.1.0.0
lrwxrwxrwx 1 root root 14 Jan 4 2022 /lib/aarch64-linux-gnu/libOpenGL.so -> libOpenGL.so.0
lrwxrwxrwx 1 root root 18 Jan 4 2022 /lib/aarch64-linux-gnu/libOpenGL.so.0 -> libOpenGL.so.0.0.0
-rw-r--r-- 1 root root 370784 Jan 4 2022 /lib/aarch64-linux-gnu/libOpenGL.so.0.0.0 -
同问。怎么实现在cm5或者coolpi4B 中实现opencl编程?