-- | -- Module : Data.Array.Accelerate.IO -- Copyright : [2010..2012] Sean Seefried, Trevor L. McDonell -- License : BSD3 -- -- Maintainer : Manuel M T Chakravarty -- Stability : experimental -- Portability : non-portable (GHC extensions) -- -- This module provides efficient conversion routines between different array -- types and Accelerate arrays. -- -- The Repa interface provides an efficient non-copying instance for Repa to -- read and write directly into arrays that can then be passed to Accelerate. -- Additional copying conversions of low-level primitive arrays (i.e. one -- dimensional, row-major blocks of contiguous memory) are provided, however to -- use these you should really know what you are doing. Potential pitfalls -- include: -- -- * copying from memory your program doesn't have access to (e.g. it may be -- unallocated, or not enough memory is allocated) -- -- * memory alignment errors -- module Data.Array.Accelerate.IO ( module Data.Array.Accelerate.IO.ByteString, module Data.Array.Accelerate.IO.Ptr, module Data.Array.Accelerate.IO.Repa, module Data.Array.Accelerate.IO.Vector, ) where import Data.Array.Accelerate.IO.ByteString import Data.Array.Accelerate.IO.Ptr import Data.Array.Accelerate.IO.Repa import Data.Array.Accelerate.IO.Vector