0

I was working on an Android app which uses OpenCL on the Galaxy Note 5 which has the Mali T-760 GPU. I pulled the library from the device and got the headers from the Mali OpenCL SDK and everything worked.

I'm trying to build and run the same app on the Galaxy S7 Edge which has the Mali T-880 GPU. I pulled the library from the device and used the same headers as before.

Now I get this error:

E/mali: ERROR: The DDK is not compatible with any of the Mali GPUs on the system. The DDK was built for 0x750 r0p1 status range [0..15], but none of the GPUs matched:

E/mali: /dev/mali0 detected as 0x880 r2p0 status 0

It's strange because I pulled the library from device itself and I tried the library from different locations too:

/system/lib/libOpenCl.so

/system/vendor/lib/libOpenCL.so

/system/vendor/lib/egl/libGLES_mali.so

In all cases I get the same error.

What is this DDK?

Where is it specified? In the headers? In the shared object?

What do I need to update in my app to make it work?

4

1 回答 1

0

这是奇怪的 Android Studio 行为的结果。

我执行了项目清理并使用设置为 Mali T-880 库的库链接目标来构建它,但它仍然以某种方式链接了错误的库。

我删除了所有其他库,执行了一个干净的构建,然后它工作了。

于 2016-10-13T11:27:01.183 回答