Re:Hybridizer: High-Performance C# on GPUs
by arianvanp on Monday December 18, 2017 @05:42AM
(#15950745)
If you want composable kernels in a high level language, I can really recommend http://hackage.haskell.org/package/accelerate
with the CUDA backend: https://hackage.haskell.org/package/accelerate-llvm-ptx
See http://chimera.labs.oreilly.com/books/1230000000929/ch06.htm... for a great introduction
Re:Hybridizer: High-Performance C# on GPUs
by rafinha on Monday December 18, 2017 @05:10AM
(#15950630)
For "easy gpu programming" look for tensorflow or any of these "run on CPU and GPU" libraries. For anything else there's no magic, need to write kernel code and take care of memory layout.
I have not tried it myself and it's limited in scope but the I ran across this language: http://halide-lang.org/
I mean, it is surely nice to easily launch a bunch of threads within a single-source program, but there are already plenty of C++ libraries that let you do this, and it has not really led to an explosion of making efficient GPU programming accessible to the layman.