Ticket #33 (closed defect: fixed)
CUDA.run should be pure
| Reported by: | chak | Owned by: | tmcdonell |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | CUDA backend | Version: | 0.8.0.0 |
| Keywords: | Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
