Ticket #33 (closed defect: fixed)
CUDA.run should be pure
|Reported by:||chak||Owned by:||tmcdonell|
Currently, we have
CUDA.run :: Arrays a => Sugar.Acc a -> IO a
but I think it should be
CUDA.run :: Arrays a => Sugar.Acc a -> a
IMHO, the fact that we are under the hood fuzzing around with the FFI and CUDA etc shouldn't distract from that we want a pure interface on the level of Haskell.