Skip to content

Commit

Permalink
add no-op instance of touchMArr
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcdonell committed May 11, 2012
1 parent d4d0af5 commit eda6c96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Data/Array/Accelerate/IO/Repa.hs
Expand Up @@ -117,6 +117,11 @@ instance A.Elt e => R.Fillable A e where
deepSeqMArr (MAArr arr) x -- maybe?
= arr `seq` x

{-# INLINE touchMArr #-}
touchMArr _ -- maybe?
= return ()


-- Conversions -----------------------------------------------------------------

-- | /O(1)/. Wrap an Accelerate array.
Expand Down
2 changes: 1 addition & 1 deletion accelerate-io.cabal
Expand Up @@ -41,7 +41,7 @@ Library
array >= 0.3,
base == 4.*,
bytestring >= 0.9,
repa >= 3.1,
repa >= 3.1.2,
vector >= 0.9

Exposed-modules: Data.Array.Accelerate.IO
Expand Down

0 comments on commit eda6c96

Please sign in to comment.