At hand a RK3288 board, on the board tested a 1080p color graph gray Conversion of OpenCL example. OpenCL does not have any optimizations. For example, please visit here. This example is an executable program compiled under the cheer Android platform.
Go to the Jni folder and do the following:
For my environment, the executable files, kernel.cl, and pictures are push to the//mnt/sdcard/opencl/gray path of the device. Please choose your own.
After the ADB connects the device, the performance is as follows:
The time for the statistics GPU is: Data back and forth copy time +kernels execution time.
In the source code, the time to statistical kernel execution time, but it seems to be useless under the Mali platform, the reason is not found. The corresponding code, under the platform of Qualcomm Adreno 303, executes the following results:
Android Arm Mali OpenCL example-grayscale conversion