Haskell has an embedded domain specific language for it. (It's probably a monad.)
http://www.cse.unsw.edu.au/~chak/papers/acc-cuda.pdf
Haskell has an embedded domain specific language for it. (It's probably a monad.)