Hello,
Is it possible to use the Mali user space drivers on the Nexus 10 available at http://malideveloper.arm.com/develop-for-mali/drivers/mali-t6xx-gpu-user-space-drivers/ with stock Google firmware for OpenCL development? I don't want to change/debug the OS itself, so I don't think I should follow the guide at http://community.arm.com/docs/DOC-10124
If so, which exact firmware version is required for the r5p0-06rel0 drivers? The device has 3 different flavors of Android 5.0 available by Google (here: https://developers.google.com/android/nexus/images#mantaray - 5.0, 5.0.1 and 5.0.2), none of them seem to work with this driver properly, I get errors when calling OpenCL functions (usually CL_OUT_OF_HOST_MEMORY when calling clGetDeviceID), a similar thing I encountered when using nonworking Linux kernel + user space driver combination on a Samsung Chromebook 2, so I think (hope) the same happens here, and just need the correct combination.
What about the older r4p1-00rel0 / r4p0-02rel0 drivers, what exact firmware version should they work with?
My program works on both a Qualcomm-based Samsung Galaxy S5, and on a Samsung Chromebook 2, so both Android and Mali work (separately..), I am just missing a proper driver on the Nexus.
Thank you for your help,Robert
The Mali driver has a Renderscript front-end to support compute in Android and this doesn't allow native OpenCL applications to run directly. Stock drivers for Android usually come with only Renderscript support, although some also support OpenCL depending on the vendor. The next public binaries r6p0 for Nexus 10 to be published on malideveloper.arm.com as Rich mentioned above will contain both Renderscript and OpenCL front-ends.
Guillaume