Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi,
I'm trying to run arm_compute_benchmark on an Android phone with mali GPU supported, follow the steps provided in https://arm-software.github.io/ComputeLibrary/latest/tests.xhtml#writing_tests.
But get following error:
WARNING: linker: /data/local/tmp/arm_compute_benchmark: unsupported flags DT_FLAGS_1=0x8000000Can't load libGLES_mali.so: dlopen failed: library "libGLES_mali.so" not foundCan't load libmali.so: dlopen failed: library "libmali.so" not foundCouldn't find any OpenCL library.terminating with uncaught exception of type cl::Error: emptyAborted
I tried following solutions:
1. Move /vendor/lib64/egl/libGLES_mali.so to current folder(/data/local/tmp/), create a symbol link for libmali.so;
2. Rebuild Compute library and arm NN without openCL;
But it still doesn't work, shows the same error message.
By the way, the UnitTest of ARM NN works fine, without error.
I think both of them(arm_compute_benchmark and ARM NN unit test) depended with libGLES_mali.so, but the result shows different.
It's fixed after set "export LD_LIBRARY_PATH=/data/local/tmp"