News for hackers. Stuff that matters.
Re:CUDA 10 in Clojure by thetricia on Wednesday November 21, 2018 @01:17PM (#18504757)
Wonder if there'd be any lisp or clojure dsl that compiles down to fairly minimal c/cpp, so that you wouldn't have to have the cuda program be a string
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.
Re:CUDA 10 in Clojure by vbuwivbiu on Thursday November 22, 2018 @02:41AM (#18508508)
could start with something like this https://github.com/kovasb/gamma