Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What high-level languages can I use to employ GPU computations acceleration? [closed]

I think I am interested in using today GPUs powers (CUDA etc.) to accelerate my scientific number-crunching applications. But I am not willing to invest time in coding C/C++. I prefer Scala, but won't mind using Erlang, Haskell, F#, C#, Java, Python maybe, or an other language of this level. Is this possible?

like image 250
Ivan Avatar asked Nov 28 '22 22:11

Ivan


2 Answers

ScalaCL is the main one for Scala. It works through a set of specialised collections that'll defer work to the GPU via OpenCL.

Then there's also the ScalaCL Plugin, part of ScalaCL. Which is a compiler plugin that'll automatically rewrite some of your code to use OpenCL bindings for acceleration, no extra work required!

like image 159
Kevin Wright Avatar answered Dec 05 '22 02:12

Kevin Wright


And don't forget Matlab, Mathematica and Fortran, all of which have CUDA support. Mathematica supports OpenCL too.

like image 30
High Performance Mark Avatar answered Dec 05 '22 03:12

High Performance Mark