Ticket #33 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 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.