[Crosswalk-dev] [Intent to implement] Khronos WebCL API for Android.
shouqun.liu at intel.com
Thu Sep 4 19:08:01 PDT 2014
This is definitely important feature and differentiation for Crosswalk for Android.
> -----Original Message-----
> From: Crosswalk-dev [mailto:crosswalk-dev-bounces at lists.crosswalk-project.org]
> On Behalf Of Zhu, Junmin
> Sent: Thursday, September 04, 2014 9:04 AM
> To: crosswalk-dev at lists.crosswalk-project.org
> Subject: [Crosswalk-dev] [Intent to implement] Khronos WebCL API for Android.
> heterogeneous parallel computing.
> WebCL enables web applications to harness GPU and multi-core CPU parallel
> processing from within a Web browser/Runtime, enabling significant acceleration
> of applications. WebCL is standardized on March 2014.
> We have several demos to demonstrate the power of WebCL from various
> scenarios, such as: Image Processing(AlloyImage, Ripple), 3D
> transformation(Deformation) etc. It shows 2x~20x performance boost.
> Currently, WebCL's dependency (OpenCL) is well supported on Android. From
> official wiki , It is supported by most of hardware vendors, such as: Intel,
> Qualcomm, Mtk, ARM-Mali, Imagination Tech etc.
> What's more, there are many devices deployed with OpenCL library by default
> when shipping.
> Document  lists most of popular devices in the market with OpenCL
> So I propose to support WebCL APIs for Crosswalk on Android. Following is some
> design considering for WebCL.
> 1) Implement the APIs through WebCore binding.
> 2) Enable WebCL with flag, and Tizen will the potential target in future.
> 3) Dynamic load the OpenCL library, and add whitelist for various devices, due to
> OpenCL may missed in older devices.
> 5) Security enhancement.
> 6) Include conformance tests.
> If you want more details, please refer to the design doc .
> Because this feature is somewhat big, I propose to integrate with several steps as
> 1) Implement WebCL APIs, include dynamic loading OpenCL library, internal class
> set, external API binding etc.
> 2) Add security check mechanism, and include conformance test suites.
> 3) Add whitelist for OpenCL, and enable WebCL support by default for devices in
> the whitelist on Android.
>  WebCL Wiki: https://www.khronos.org/webcl/  OpenCL wiki:
> https://www.khronos.org/opencl/  WebCL Spec:
>  http://www.khronos.org/conformance/adopters/conformant-products
>  Design Doc:
> Best wishes
> Crosswalk-dev mailing list
> Crosswalk-dev at lists.crosswalk-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Crosswalk-dev