Hello
I want to run OpenCL sample apps on Mali T-628 gpu in Android platform.
i hv downloaded Mali OpenCL SDK.
My host system is Ubuntu 12.04
I saw entire development guides but couldnt understand.Any instructions on how to go about it?
Thks
Hi Chris,
My Phone is HuaWei Mate 7, GPU is T628.
I did as your says. And I adb push the hello_world_opencl to the /mnt/sddcard/neon. And I run the executable file, there is a error that is :
shell@hwmt7:/mnt/sdcard/neon $ ./hello_world_opencl
OpenCL error: CL_OUT_OF_HOST_MEMORY
Creating an OpenCL context failed. /root/android-ndk-r10d/samples/hello-jni/jni/common.cpp:248
Failed to create an OpenCL context. /root/android-ndk-r10d/samples/hello-jni/jni/hello_world_opencl.cpp:39
1|shell@hwmt7:/mnt/sdcard/neon $
How to fix this error? Thank you very much.
Hi
The reason for ur error is given in this link https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clCreateContext.html
Have you pulled the .so library from your HuaWei ?
Thanks
Aravind