[webkit-dev] Is there a plan for supporting multi-process and WebCL in webkit

Pozdnyakov, Mikhail mikhail.pozdnyakov at intel.com
Wed Apr 10 02:29:11 PDT 2013



> Why not infer ParallelArrays automatically? 
Sorry, did not get it. Could you please elaborate?

I'm not insisting on this concrete proposal, my point is just that it would be more safe and natural to enhance  
ECMAScript (enable parallel calculations there) rather than make developers to introduce OpenCL snippets to their web apps.

BR,
Mikhail

________________________________________
From: Filip Pizlo [fpizlo at apple.com]
Sent: Wednesday, April 10, 2013 10:37 AM
To: Pozdnyakov, Mikhail
Cc: Jer Noble; Benjamin Poulain; webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] Is there a plan for supporting multi-process and WebCL in webkit

Why not infer ParallelArrays automatically?  What is the specific reason for requiring a new type?

-Filip


On Apr 10, 2013, at 12:16 AM, "Pozdnyakov, Mikhail" <mikhail.pozdnyakov at intel.com<mailto:mikhail.pozdnyakov at intel.com>> wrote:

Hi,

As far as I'm concerned WebCL would have serious security issues as it lets web app to provide OpenCL target code (which is really unsafe),
besides its using requires OpenCL knowledge and hence might be too complex for a web developer.
Good alternative could be enabling parallel calculations inside ECMAScript itself. For instance providing ParallelArray interface for map-reduce
calculations, there is actually a proposal already at http://wiki.ecmascript.org/doku.php?id=strawman:data_parallelism .

BR,
Mikhail

________________________________________
From: webkit-dev-bounces at lists.webkit.org<mailto:webkit-dev-bounces at lists.webkit.org> [webkit-dev-bounces at lists.webkit.org<mailto:webkit-dev-bounces at lists.webkit.org>] on behalf of Jer Noble [jer.noble at apple.com<mailto:jer.noble at apple.com>]
Sent: Tuesday, April 09, 2013 11:23 PM
To: Benjamin Poulain
Cc: webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
Subject: Re: [webkit-dev] Is there a plan for supporting multi-process and WebCL in webkit

On Apr 9, 2013, at 10:47 AM, Benjamin Poulain <benjamin at webkit.org<mailto:benjamin at webkit.org><mailto:benjamin at webkit.org>> wrote:

I am very curious about the source of interest in OpenCL on browser. While OpenCL is a great technology, I have the feeling it is not ready for the web.
What kind of applications do you foresee being powered by OpenCL on the Web?

I can imagine some use of CPU based kernels for the web (for image manipulation for example). But I have a hard time seeing how adding full support of OpenCL would not be shooting ourself in the foot at this point. That may change in the future when GPU hardware converges…

There has also been interest in the WebAudio WG about using OpenCL/WebCL for custom audio processing.  There are significant performance issues involved with doing custom audio processing in JavaScript, even in a Worker thread, but WebCL may offer performance and memory characteristics which would couple well with the requirements of realtime audio threads.

-Jer

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
https://lists.webkit.org/mailman/listinfo/webkit-dev

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the webkit-dev mailing list