Opencl and renderscript Summary

Source: Internet
Author: User

Opencl should be developed on Android, and libopencl should be available on mobile phones. so file (that is, the opencl driver); but this file is rarely available on Android mobile phones. The reason is that although AMD, Intel, NVIDIA, and Apple support opencl, Google does not seem to support opencl; on the Mobile End, Google has renderscript (rendering script, which is also an API based on the idea of Heterogeneous Computing. It has the advantage of good cross-platform performance and is suitable for various Android operating systems, but the performance is slightly worse than opencl). Google is more likely to promote its own API. Therefore, most Android phones support renderscript, but few support opencl. (There is an opencl info applet on the Internet to determine whether the mobile phone supports opencl ).

I found a libopencl from the Internet. the so library is the driver supported by the adreno3 GPU produced by Qualcomm (but this driver is not integrated into the mobile phone system). It uses a small example of Vector Addition for practice, however, on a real machine (my mobile phone is the GPU of imagination technologies, the mobile phone does not have an opencl driver, and I copied the driver to the mobile phone) and the android simulator did not succeed, I think the problem should be caused by the driver. It is impossible to use the driver indiscriminately.

Here we have collected some information:

1. About opencl:

A small example of opencl under Qualcomm: http://blog.csdn.net/wcj0626/article/details/26272019;

Android mobile GPU opencl Summary: http://blog.csdn.net/wcj0626/article/details/42563791;

Mali GPU support for opencl: http://arrayfire.com/getting-started-with-opencl-on-android/

Qualcomm's GPU has a backdoor to opencl: https://maxlv.net/how-to-enable-opencl-on-nexus-5/


Books: opencl programming guide;

Heterogeneous Computing with opencl;

Opencl in action;

And Baidu encyclopedia's mobile phone model and Encyclopedia GPU model.


2. About renderscript:

There are few materials; the most important reference is the official API: Workshop.

Http://xiaxveliang.blog.163.com/blog/static/2970803420139844152392/ (API)

The Google academic search renderscript has a related paper introduction; the specific paper name does not remember ..



Opencl and renderscript Summary

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.