This is a cache of https://discuss.96boards.org/t/example-of-use-opencl-aosp-pie-hikey960/7208. It is a snapshot of the page at 2024-09-20T10:28:03.818+0000.
Example of use OpenCL AOSP Pie HiKey960 - HiKey 960 - 96Boards Forum

Example of use OpenCL AOSP Pie HiKey960

Hello.
I have a HiKey960 with the AOSP manifest January 13, 2019. This is android 9.
I downloaded the libraries for OpenCl from https://developer.arm.com/products/software/mali-drivers/user-space for android 8.1. This library work for my android 9?
When I try to connect libGLES_mali.so to my project in android Studio I get an error when starting the program “java.lang.UnsatisfiedLinkError: dlopen failed: library “android.hardware.graphics.common@1.0.so” not found”
Does anyone know the reason? android.hardware.graphics.common@1.1.so is located at system/lib64
Could someone know the easy way to run C ++ code with support OpenCL for HiKey960.
Thank.