Y
Hacker News
new
|
ask
|
show
|
jobs
by
dragandj
2761 days ago
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.
1 comments
vbuwivbiu
2760 days ago
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 ?
link
dragandj
2760 days ago
It wouldn't since most of Clojure functions would be poor match for the GPU hardware.
link