Platform/GFX/WebCL: Difference between revisions

From MozillaWiki
< Platform‎ | GFX
Jump to navigation Jump to search
Line 57: Line 57:
| colspan="2" | ''This is an example of a multi-column entry, use these to indicate consensus''
| colspan="2" | ''This is an example of a multi-column entry, use these to indicate consensus''
|  
|  
|}
= Mozilla projects : WebCL =
To explore areas of consensus between the two projects, let's build a comparison table. Treat it as free-form. Add there features, design choices, anything that is useful to compare between the two projects. If something needs to be explained in more detail, add a paragraph below.
{| border="1"
|-
! Feature/TODO
! Status
! Who?
! Comments
|-
| Using image from dom (canvas /img)
| NOK
| ???
| Can use something like [http://hg.mozilla.org/mozilla-central/file/5319b0100025/content/canvas/src/WebGLContextGL.cpp#l3572 WebGL]
|-
|
|
|
|
|-
|
|
|
|
|}
|}

Revision as of 19:47, 18 September 2011

About WebCL

WebCL is an in-progress project to specify a JavaScript/DOM API similar to OpenCL, which is an API for high-performance computing hardware, such as GPGPUs. WebCL should be to OpenCL what WebGL is to OpenGL.

There is not yet a draft spec.

There is a private and a public WebCL mailing list at Khronos. The public list is:

 https://www.khronos.org/webcl/public-mailing-list/

The private list is:

 https://www.khronos.org/members/login/list_archives/webcl/

Public discussion for WebCL integration in Gecko:

 webcl-gecko@googlegroups.com

IRC channel is also available

Implementations for Gecko

We don't have a WebCL implementation in Gecko at the moment. However two groups have started working on WebCL implementations for Gecko:

1. Fabien Cellier and his students are developing a fork of Gecko with WebCL support:

 https://bitbucket.org/tallion/gecko-webcl/

2. Nokia Research is developing a Firefox extension adding WebCL support:

 http://webcl.nokiaresearch.com/

As soon as we have an implementation that we want to eventually become part of Gecko, we move it to a project branch at hg.mozilla.org, under

 http://hg.mozilla.org/projects/webcl/

Comparison of the two projects

To explore areas of consensus between the two projects, let's build a comparison table. Treat it as free-form. Add there features, design choices, anything that is useful to compare between the two projects. If something needs to be explained in more detail, add a paragraph below.

Feature/Aspect Fabien's project Nokia's project Comments
Process model WebCL runs in the JavaScript VM process
TypedArray usage Used via WebCLDataObject
Kernel language OpenCL C (no modifications)
Example This is an example of a multi-column entry, use these to indicate consensus


Mozilla projects : WebCL

To explore areas of consensus between the two projects, let's build a comparison table. Treat it as free-form. Add there features, design choices, anything that is useful to compare between the two projects. If something needs to be explained in more detail, add a paragraph below.

Feature/TODO Status Who? Comments
Using image from dom (canvas /img) NOK ??? Can use something like WebGL