News for hackers. Stuff that matters.
Re:CUDA 10 in Clojure by dragandj on Thursday November 22, 2018 @03:18AM (#18508619)
Cuda program doesn't have to be a string. I keep them in regular .cu files, and just load them with slurp into clojure repl.
Re:CUDA 10 in Clojure by vbuwivbiu on Friday November 23, 2018 @03:34AM (#18515172)
yes but wouldn't it be nice to be able to emit CUDA/OpenCL code from an AST so that you could use your Clojure functions on the GPU without duplication ?
Re:CUDA 10 in Clojure by dragandj on Friday November 23, 2018 @05:25AM (#18515605)
It wouldn't since most of Clojure functions would be poor match for the GPU hardware.