Ticket #33 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

CUDA.run should be pure

Reported by: chak Owned by: tmcdonell
Priority: minor Milestone:
Component: CUDA backend Version:
Keywords: Cc:


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

Changed 7 years ago by tmcdonell

  • status changed from new to closed
  • resolution set to fixed
Fri Sep  3 10:34:10 EST 2010  Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
  * give CUDA.run a pure interface

top-level unsafePerformIO

Note: See TracTickets for help on using tickets.