If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
![]() |
|
|
#1 |
|
Registered
Join Date: Feb 2013
Posts: 4
|
There is a file called libGLES_mali.so in /system/vendor/lib/egl/, which contains entry points for the CL functions. If it doesn't, grab the latest binaries/image from Google for your Nexus 10 (the current JOP40C factory image with SHA1 checksum 0d641789a722cd25eb884cca253900976d131241 will do).
Pull the library from the device, and link it to your native application via ndk-build. While the application can be built like this, it won't run on the device, yet, as the CL calls are not available through the standard library. Add the following line to the Java code before loading your native library, and you’re ready to go: System.load("/system/vendor/lib/egl/libGLES_mali.so"); The method works with the latest Android 4.2.2 update, build JDQ39, too. |
|
|
|
|
|
#2 |
|
Member
Join Date: Dec 2009
Posts: 171
|
ARM has released OpenCL SDK for Mali-T600 family few days ago: http://malideveloper.arm.com/develop...li-opencl-sdk/
Isn't Nexus 10 base on T604 ? |
|
|
|
|
|
#3 |
|
Registered
Join Date: Feb 2013
Posts: 4
|
Yes it is. The tricky part is getting it working without having to root your device.
|
|
|
|
|
|
#4 |
|
Registered
Join Date: Feb 2013
Posts: 1
|
Hi I'm having trouble getting this to work I'v got the .so lib from the device and I have the System.load("/system/vendor/lib/egl/libGLES_mali.so"); in the java class but I'm not sure how to link it so the .c file. I have tried adding it to a egl folder in the lib folder and linking it via the paths and symbols setting in eclipse but with no luck. any help would be appreciated.
|
|
|
|
|
|
#5 |
|
Registered
Join Date: Feb 2013
Posts: 4
|
This simple example may be of help: http://www.openclblog.com/2013/02/op...10-part-1.html
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Dec 2006
Posts: 12
|
Sony Xperia Z has been also found to support OpenCL:
https://clbenchmark.com/device-info....&test=CLB10101 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|