Re:Matrix Computations on the GPU in Clojure
by dzhiurgis on Friday August 07, 2015 @11:05PM
(#10026168)
So what is the most practical language currently for GPU processing?
[ Parent
| on HN ]
Re:Matrix Computations on the GPU in Clojure
by 14113 on Saturday August 08, 2015 @10:49AM
(#10027359)
It entirely depends on how you want to program your GPU. If you want fine grained control, you should really use raw OpenCL/CUDA. If however you need something higher level, it may be better to choose one of a number of DSLs that are available. E.g. Haskell's accellerate (for array programming), a DSL from the Delite/Forge project.
For general purpose high level programming however, there isn't really anything acceptable. Skeletal/pattern based programming is covered fairly well with frameworks such as SkelCL or SkePU, however (from what I've seen) there doesn't seem to be a nice functional, or even procedural general purpose language for GPU programming.
Re:Matrix Computations on the GPU in Clojure
by sabalaba on Saturday August 08, 2015 @03:21AM
(#10026607)
Python with Theano is surprisingly expressive and performant.