[racket] parallelism

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed May 11 15:51:13 EDT 2011

And OpenCL is just a generalization of the shader language.


2011/5/11 Stephan Houben <stephanh at planet.nl>:
> Hi Stephen,
> On 05/11/2011 09:02 PM, Stephen Bloch wrote:
>> My ideal interface would be a "for/parallel" form that executes the "for"
>> body conceptually in parallel for each possible values of the loop
>> variables.  Even friendlier would be for the existing "for" forms to do that
>> automatically until something order-dependent happens... but that seems very
>> difficult to detect.  By using "for/parallel", I would be promising the
>> compiler that
>> (a) no iteration of the for-loop depends on results computed by any other
>> iteration of the for-loop, and
>> (b) different iterations of the for-loop either don't mutate any of the
>> same memory locations, or if they do, I don't care which one gets there
>> first.
> This sounds like what an OpenGL (fragment) shader effectively does.
> Can I plug my RacketGL package on Planet?
> With this you can access GL shading language functionality from Racket.
> The shader itself though has to be written in GLSL.
> No (subset of) Racket -> GLSL compiler. Yet.
> Stephan
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.