Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

grand central and opencl support in perl?

by iaw4 (Scribe)
on Dec 29, 2009 at 19:40 UTC ( #814809=perlquestion: print w/ replies, xml ) Need Help??
iaw4 has asked for the wisdom of the Perl Monks concerning the following question:

OSX Snow Leopard comes with opencl and grand central built in. both are now open technologies designed to enhance use of more than one processor.

I searched on cpan for these technologies, but I got no hits. neither did I get a hit in my search on perlmonks.

Is such support forthcoming? perl6 perhaps?

Comment on grand central and opencl support in perl?
Re: grand central and opencl support in perl?
by thunders (Priest) on Dec 29, 2009 at 21:29 UTC

    I seriously doubt that you'll see an "official" push to add an OpenCL API to the core of perl(either 5 or 6). It's just not something the majority of perl applications would need to make use of.

    What you might see eventually is perl bindings for OpenCl in the vein of PyOpenCL. But for that to happen you'll need an individual, or a group of individuals to be inspired to actually write those bindings.

    It might be worth asking this on the PDL mailing lists. PDL is a project that involves the efficient manipulation of multidimensional arrays in perl. So people working with that might be inspired to experiment with GPU programming.

Re: grand central and opencl support in perl?
by Xilman (Friar) on Dec 30, 2009 at 11:21 UTC

    CUDA is also supported on MacOS as well as Windows and Linux. It's free-as-in-beer and, IMAO, much easier to use than opencl. The downside, of course, is that it runs only on nVidia hardware.

    I'm teaching myself CUDA programming but it's early days yet. When I've reached the stage of being able to do something useful to people other than myself I'll share it. There's a good chance that a Perl interface to the "something useful" will be one of the ways in which it will be shared. At the moment, I envisage something rather closer to the use of GMP in Math::BigInt than, say, the complexity of Perl/Tk. Perhaps a group could be started to discuss what a Perl interface should look like and to build a preliminary specification.

    Paul

Re: grand central and opencl support in perl?
by Anonymous Monk on Nov 17, 2011 at 03:11 UTC
    For what its worth, there is now an OpenCL module on CPAN (links are broken here, so as text: http://search.cpan.org/dist/OpenCL/OpenCL.pm)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://814809]
Approved by AnomalousMonk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-09-17 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (63 votes), past polls