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.
I basically have two questions:
- What is the current status of using CPUs for computation in CL (in particular SBCL)? All I found was CL-GPU but I haven't tried it yet (my current server does not have a GPU).
- What hardware is supported (if I want to use CL)? Can I use something like Nvidia's TESCLA C line?
Any help/pointers/accounts would be appreciated, I am just exploring this so I don't know much about it yet, apologies if I am not asking the right questions.
Best,
Tamas
On Sep 29, 2011, at 7:54 AM, Tamas Papp wrote:
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.
I basically have two questions:
- What is the current status of using CPUs for computation in CL (in
particular SBCL)? All I found was CL-GPU but I haven't tried it yet (my current server does not have a GPU).
I assume you mean GPUs...
This is an XMLisp example using GLSL for image processing (blur and color saturation) via a shader getting about 100 GFlops (that is a lot):
http://www.google.com/codesearch#wtZMaMetHdI/trunk/XMLisp/sources/XLUI/examp...
The integration with Common Lisp is: CLs load and compiles the shader (via GLSL functions) and communicates via glUniform functions in real time. Some of the image processing happens in CL via GL functions running on the CPU but the main part is the shader processing pixels/texels on the GPU.
- What hardware is supported (if I want to use CL)? Can I use something
like Nvidia's TESCLA C line?
CUDA has its own set of requirements but GLSL runs on most video cards unless they are super old. E.g., on Mac hardware:
http://developer.apple.com/graphicsimaging/opengl/capabilities/
not sure this is useful, Alex
Any help/pointers/accounts would be appreciated, I am just exploring this so I don't know much about it yet, apologies if I am not asking the right questions.
Best,
Tamas
pro mailing list pro@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro
Prof. Alexander Repenning
University of Colorado Computer Science Department Boulder, CO 80309-430
vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
Tamas Papp <tkpapp@...> 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
Not CUDA, but GLSL, running a 4 million cell game of life at > 60 FPS in XMLisp on a Mac:
http://code.google.com/p/xmlisp/source/browse/trunk/XMLisp/sources/XLUI/exam...
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@...> 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@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro
Prof. Alexander Repenning
University of Colorado Computer Science Department Boulder, CO 80309-430
vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
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@cs.colorado.eduwrote:
Not CUDA, but GLSL, running a 4 million cell game of life at > 60 FPS in XMLisp on a Mac:
http://code.google.com/p/xmlisp/source/browse/trunk/XMLisp/sources/XLUI/exam...
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@...> 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@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro
Prof. Alexander Repenning
University of Colorado
Computer Science Department
Boulder, CO 80309-430
vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
On 4 April 2012 16:58, Mirko Vukovic mirko.vukovic@gmail.com wrote:
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.
The CL-GPU Tamas mentioned is here:
https://github.com/angavrilov/cl-gpu
Cheers,
-- Nikodemus