Thanks for the link,  I have looked at webcl from the khronos link,   but 
did not know that there is project underway

webcl  lets you put openCL like code into JavaScript   my idea is somewhat 
different,  I'd like to extend javascript so that some constructs may run 
on the gpu without the developer needing to write in a special gpu language.

There is a project from intel research called rivertrail that is closer to 
what I would like to do.. Rivertrail has a prototype firefox 
implementation.  



On Wednesday, April 3, 2013 6:06:59 PM UTC-4, Dmitry Lomov wrote:
>
> Have you taken a look at WebCL? (http://www.khronos.org/webcl/) If I 
> understand correctly what you want to do, WebCL is precisely it.
> Apparently there is a project underway to bring this to webkit and 
> chromium (https://code.google.com/p/webcl/).
>
> Hope this helps,
> Dmitry
>
>
>
> On Wed, Apr 3, 2013 at 11:43 PM, norm rubin <[email protected]<javascript:>
> > wrote:
>
>> ops, left off my question
>>
>> All of these appear to have some pros and cons,  Does anyone have a 
>> suggestion of which option is better?  
>>
>>
>> On Wednesday, April 3, 2013 5:40:49 PM UTC-4, norm rubin wrote:
>>>
>>> I'm working out how to add some amount of gpu support to javascript, 
>>> ideally this would work in the browser (chrome)
>>> to get the gpu to execute  I need to do some analysis on the ast, to 
>>> generate some gpu code, and to call a c interface to put the code into 
>>> execution
>>> A lot of the analysis I need is already in v8 but not exposed as an 
>>> interface 
>>>
>>> As I understand it, I could do one of the following:
>>> 1) modify v8, and build a special version of chromium 
>>>
>>> 2) not modify v8 at all (write code to generate the ast, do the analysis 
>>> and code generation in javascript) and use npapi to call the c code
>>> 3) write an extension in which has its own embedded copy of my modified 
>>>  v8)
>>> 4) some other scheme that I don't know about
>>>
>>>
>>>
>>>
>>>  -- 
>> -- 
>> v8-users mailing list
>> [email protected] <javascript:>
>> http://groups.google.com/group/v8-users
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to