Re: GPU/CUDA & common lisp
Thank you both Alexander, Nikodemus,
In my excitement, I may have jumped the gun 
Let me first write & verify the code, then worry about porting to GPU.
Mirko
On Wed, Apr 4, 2012 at 12:09 PM, Alexander Repenning
<ralex-8MTm7EM7wxev0IrbefU98A@public.gmane.org> wrote:
Not CUDA, but GLSL, running a 4 million cell game of life at > 60 FPS in XMLisp on a Mac:
This is of course a mix of Lisp and shader code. It would be possible to create a Lisp to GLSL shader compiler and then have the GLSL compiler do the rest. I don't think this would be a great idea, however. Somewhat lengthy explanation required but left off...
Alex
On Apr 4, 2012, at 7:58 AM, Mirko Vukovic wrote:
Tamas Papp <tkpapp <at> ...> writes:
Hi everyone,
I am about to buy a new server for number crunching, and I would like to
keep my options open about GPU/CUDA based computations. The most
intensively parallelizable thing that I am doing is particle filtering,
and currently that works fine (and is really fast) in a multi-core CPU
with SBCL, but I keep hearing wonderful things about GPUs from people,
and I was wondering if I could make use of them but still program in CL.
... stuff deleted
Best,
Tamas
Hi Tamas,
Did you make any progress in your GPU adventures? I just got a machine with a
tesla GPU. I'd like to run some Monte Carlo simulations on it.
Mirko
_______________________________________________
pro mailing list
pro-F1HGIaG5STRyXAeb93iumQ@public.gmane.orghttp://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro
<div>
<p>Thank you both Alexander, Nikodemus,<br><br>In my excitement, I may have jumped the gun
<br><br>Let me first write & verify the code, then worry about porting to GPU.<br><br>Mirko<br><br></p>
<div class="gmail_quote">On Wed, Apr 4, 2012 at 12:09 PM, Alexander Repenning <span dir="ltr"><<a href="mailto:ralex@...">ralex@...</a>></span> wrote:<br><blockquote class="gmail_quote"><div>
<div>Not CUDA, but GLSL, running a 4 million cell game of life at > 60 FPS in XMLisp on a Mac:</div>
<div><br></div>
<div><br></div>
<div><a href="http://code.google.com/p/xmlisp/source/browse/trunk/XMLisp/sources/XLUI/examples/3D/GLSL-Conway.lisp" target="_blank">http://code.google.com/p/xmlisp/source/browse/trunk/XMLisp/sources/XLUI/examples/3D/GLSL-Conway.lisp</a></div>
<div><br></div>
<div>This is of course a mix of Lisp and shader code. It would be possible to create a Lisp to GLSL shader compiler and then have the GLSL compiler do the rest. I don't think this would be a great idea, however. Somewhat lengthy explanation required but left off...</div>
<div><br></div>
<div>Alex</div>
<div><br></div>
<div><br></div>
<br><div>
<div>On Apr 4, 2012, at 7:58 AM, Mirko Vukovic wrote:</div>
<br><blockquote type="cite"><div>Tamas Papp <tkpapp <at> ...> writes:<br><br><blockquote type="cite">
<br>
</blockquote>
<blockquote type="cite">Hi everyone,<br>
</blockquote>
<blockquote type="cite"><br></blockquote>
<blockquote type="cite">I am about to buy a new server for number crunching, and I would like to <br>
</blockquote>
<blockquote type="cite">keep my options open about GPU/CUDA based computations. The most <br>
</blockquote>
<blockquote type="cite">intensively parallelizable thing that I am doing is particle filtering, <br>
</blockquote>
<blockquote type="cite">
and currently that works fine (and is really fast) in a multi-core CPU <br>
</blockquote>
<blockquote type="cite">with SBCL, but I keep hearing wonderful things about GPUs from people, <br>
</blockquote>
<blockquote type="cite">
and I was wondering if I could make use of them but still program in CL.<br>
</blockquote>
<blockquote type="cite"><br></blockquote>
<blockquote type="cite">... stuff deleted<br>
</blockquote>
<blockquote type="cite"><br></blockquote>
<blockquote type="cite">Best,<br>
</blockquote>
<blockquote type="cite"><br></blockquote>
<blockquote type="cite">Tamas<br>
</blockquote>
<blockquote type="cite"><br></blockquote>
<blockquote type="cite"><br></blockquote>
<br>Hi Tamas,<br><br>Did you make any progress in your GPU adventures? I just got a machine with a<br>tesla GPU. I'd like to run some Monte Carlo simulations on it.<br><br>Mirko<br><br><br><br>_______________________________________________<br>
pro mailing list<br><a href="mailto:pro@..." target="_blank">pro@...</a><br><a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro</a><br>
</div></blockquote>
</div>
<br><div>
<span><span><span><p>
Prof. Alexander Repenning</p>
<p><br></p>
<p>University of Colorado</p>
<p>
Computer Science Department</p>
<p>Boulder, CO 80309-430</p>
<p><br></p>
<p>vCard: <a href="http://www.cs.colorado.edu/%7Eralex/AlexanderRepenning.vcf" target="_blank">http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf</a></p>
<br></span></span></span>
</div>
<br>
</div></blockquote>
</div>
<br>
</div>