Re:AMD's master plan to topple Intel - Back to the top on a ...
by eru on Sunday July 10, 2011 @01:11PM
(#2748083)
> Does anyone know if it's possible to program GPUs today without using a new, special purpose programming language? That would be the killer app for GPUs.
Haskell has an embedded domain specific language for it. (It's probably a monad.)
Does anyone know if it's possible to program GPUs today without using a new, special purpose programming language? That would be the killer app for GPUs.
I see your point about most languages not admitting auto-vectorization. But couldn't you take a compilable functional language like Gambit Scheme, Clojure, or Haskell and emit GPU code for constructs like map and fold on numeric vector types?