打印

Android 9 Mali G72 OpenCL library for C++ build

[复制链接]
361|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
电子学长|  楼主 | 2018-9-8 20:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
I was able to run JNI Opencl kernel on my mali T830 by coping the system/vendor/lib/libGLES_mali.so and libOpenCL.so to the JNI folder on android studio. of course we to load some library through
System.loadLibrary(xxx).
I hace done the same with my mali G72. Compilation and linkage are fine. But in excecution time i am asked for two other library :
system/vendor/lib/libgpucommon_vendor_client.so  and system/vendor/lib/libmediacomm@2.0-client.so
the problem is taht android do not copy the libmediacomm@2.0-client.so to the data/data/apk/lib. So at run time a got this error :
java.lang.UnsatisfiedLinkError: dlopen failed: library "libmediacomm@2.0-client.so" not found\nIt is possible to get library which does not need of the system/vendor/lib/libgpucommon_vendor_client.so  and system/vendor/lib/libmediacomm@2.0-client.so.
Or if you know how to run openCL on android 9 (honnor play) whitout linker library problem.
thanks a lot for drive me to a succefull solution.
regards herve terrole, paris france.   ;))

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

424

主题

447

帖子

1

粉丝