标题: Fedora下安装opencl出现问题 [打印本页] 作者: newcomer3399 时间: 2020-3-24 15:00 标题: Fedora下安装opencl出现问题 我在fedora系统下安装opencl,首先添加Rockhip官方源:
dnf localinstall --nogpgcheck http://repo.rock-chips.com/fedor ... -4.fc28.aarch64.rpm
然后升级:
dnf clean all
dnf update
安装包:
dnf install ocl-icd-devel.aarch64
readlink -f /usr/lib64/libOpenCL.so /usr/lib64/libmali.so.r18p0
安装clinfo:
dnf install clinfo
最后使用命令:
clinfo
出现结果:
Number of platforms 1
Platform Name ARM Platform
Platform Vendor ARM
Platform Version OpenCL 1.2 v1.r18p0-01rel0.42aa65ae5fdfdec464479cb891075220
Platform Profile FULL_PROFILE
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Platform Extensions <printPlatformInfo:4: get CL_PLATFORM_EXTENSIONS size : error -6>
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
printPlatformInfo:488: number of devices : error -6
不知道是哪里有问题?始终没有显现mali的信息 作者: jefferyzhang 时间: 2020-3-24 16:21
负责的工程师好像说fedora的clinfo没有链接过mali的so。
请烧写debian10使用,未来我们也不会再用fedora了。
而且你这平台看过去不像是toybrick