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?
I am having same problem on honor 8, with Xamarine. What do you mean you linked "directly" with libGLES_mali.so? Is it unroofed? You gave full path of /system/vendor/lib//eg/libGLES_mali.so? I see the file there on device but when doing dllimport it just throws a not found exception.
i am trying that with with exact same code that works fine on Galaxy Tab pro (except for runtime location).
Very disappointing. The Honor 8 was heavily advertised as having OpenCL, and it being actively used for graphics enhancements. But turns out it is locked down and usable. Waste of time.