Android Arm Mali OpenCL example-grayscale conversion

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.