I am trying to test my android app which has OpenCL native code. I have Huawei P10 which has Android Nougat. It has Cortex A53 & Cortex A73 CPUs and Mali G71 bifrost GPU. I could not link libOpenCL.so at runtime as its always showing linker failure error ""/system/vendor/lib64/egl/libGLES_mali.so" ("/vendor/lib64/egl/libGLES_mali.so") needed or dlopened by libOpenCL.so" is not accessible for the namespace [name="classloader-namespace]". if either libOpenCL.so or libGLES_mali.so is a private library, Is there any other OpenCL library that can be used to run OpenCL on Mali G71. I'm using ARM Compute OpenCL library at compile time. During runtime, its searching in system path. As a result, I'm getting access issue. Has anyone encountered this issue?
Where did you get your Mali driver library from? That looks like you are trying to use a driver library from a device with a Mali-T880 GPU on a different device which has a Mali-G71 GPU.
You must use the driver libraries which shipped on the device you are running the application on.
Pete