Ruby Forum Ruby > CUDA bindings?

Posted by jzakiya (Guest)
on 09.09.2008 06:15
(Received via mailing list)
I was wondering if anybody has (is thinking of) creating CUDA
bindings. I searched this forum archives, and rubyforge.org, but
couldn't find any references to CUDA.

Wikipedia showed an example with python.

http://en.wikipedia.org/wiki/CUDA

CUDA (Compute Unified Device Architecture), is a compiler and set of
development tools that enable programmers to use a variation of C to
code algorithms for execution on the graphics processing unit (GPU).
CUDA has been developed by NVIDIA and to use this architecture
requires an Nvidia GPU and drivers. The latest drivers all contain the
necessary CUDA components. CUDA works with all NVIDIA GPUs from the
G8X series onwards, including GeForce, Quadro and the Tesla line.
NVIDIA states that programs developed for the GeForce 8 series will
also work without modification on all future Nvidia video cards, due
to binary compatibility. CUDA gives developers access to the native
instruction set and memory of the massively parallel computational
elements in CUDA GPUs. Using CUDA, the latest NVIDIA GPUs effectively
become open architectures like CPUs (Central Processing Units). Unlike
CPUs however, GPUs have a parallel "many-core" architecture, each core
capable of running thousands of threads simultaneously - if an
application is suited to this kind of an architecture, the GPU can
offer large performance benefits. CUDA provides both deterministic low
level API and a higher level API.
Posted by Jan Dvorak (Guest)
on 09.09.2008 18:30
(Received via mailing list)
On Tuesday 09 September 2008 05:43:46 jzakiya wrote:
> I was wondering if anybody has (is thinking of) creating CUDA
> bindings. I searched this forum archives, and rubyforge.org, but
> couldn't find any references to CUDA.
I was thinking about that few months back, but didn't really get to it 
due to
lack of time. Also there's the problem of target audience - the number 
of
people that would be interested in it can be counted on the fingers of 
one
hand of blind butcher. (And those people can as well go the Python 
route)

Jan
Posted by Matt Lawrence (Guest)
on 13.09.2008 02:19
(Received via mailing list)
On Wed, 10 Sep 2008, Jan Dvorak wrote:

> On Tuesday 09 September 2008 05:43:46 jzakiya wrote:
>> I was wondering if anybody has (is thinking of) creating CUDA
>> bindings. I searched this forum archives, and rubyforge.org, but
>> couldn't find any references to CUDA.
> I was thinking about that few months back, but didn't really get to it due to
> lack of time. Also there's the problem of target audience - the number of
> people that would be interested in it can be counted on the fingers of one
> hand of blind butcher. (And those people can as well go the Python route)

Actually, I am interested and I'll be a number of the folks on the 
Beowulf
list would be interested.

-- Matt
It's not what I know that counts.
It's what I can remember in time to use.
Posted by Sergio Footenko (exn)
on 13.05.2009 04:17
I'm interested too =)
Posted by Tony Arcieri (Guest)
on 13.05.2009 05:01
(Received via mailing list)
On Tue, May 12, 2009 at 8:17 PM, Sergio Footenko <exn@bk.ru> wrote:

> I'm interested too =)
>

I know the Rubinius people were interested in using GPU-type features or
maybe CUDA.  Evan Phoenix, the Rubinius head honcho, was even talking 
about
using GPU features to accelerate things like method dispatch.  Pretty 
nuts.
Posted by Loren Segal (lsegal)
on 31.08.2009 02:30
Not quite CUDA, but I've written a very simple OpenCL wrapper library 
for Ruby called Barracuda.

http://gnuu.org/2009/08/30/barracuda-an-opencl-library-for-ruby/

It currently only works on OSX 10.6 (Snow Leopard), but if you have the 
OpenCL libs installed on your machine and are willing to hack the 
Makefiles for a few minutes, you could probably get it to compile for 
other platforms.
Posted by Sergio Footenko (exn)
on 04.10.2009 22:07
nice one Loren

  Anybody have found where to use it ?