as the title says,to use opencl i need drivers,but i can’t find it on the official website.so who can publish link for me ,thanks very much.
Hello @DragonBorn
The image already shipped with the user space blobs. You need to setup the OpenCL.
khadas@Khadas:~$ sudo -i
root@Khadas:~# apt-get update
root@Khadas:~# apt-get install clinfo ocl-icd-libopencl1
root@Khadas:~# mkdir -p /etc/OpenCL/vendors
root@Khadas:~# echo "libMali.so" > /etc/OpenCL/vendors/mali.icd
root@Khadas:~# clinfo
Number of platforms 1
Platform Name ARM Platform
Platform Vendor ARM
Platform Version OpenCL 2.0 git.c8adbf9.122c9daed32dbba4b3056f41a2f23c58
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp16 cl_khr_icd cl_khr_egl_image cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_subgroups cl_khr_create_command_queue cl_arm_core_id cl_arm_printf cl_arm_thread_limit_hint cl_arm_non_uniform_work_group_size cl_arm_import_memory cl_arm_shared_virtual_memory
Platform Extensions function suffix ARM
3 Likes
thank you,according to your method,i succeeded.