accelerate-0.9.0.1: An embedded language for accelerated array processing

Portabilitynon-portable (GHC extensions) /Scalar types supported in array computations/ Integral types: Int, Int8, Int16, Int32, Int64, Word, Word8, Word16, Word32, Word64, CShort, CUShort, CInt, CUInt, CLong, CULong, CLLong, CULLong Floating types: Float, Double, CFloat, CDouble Non-numeric types: Bool, Char, CChar, CSChar, CUChar 'Int' has the same bitwidth as in plain Haskell computations, and 'Float' and 'Double' represent IEEE single and double precision floating point numbers, respectively.
Stabilityexperimental
MaintainerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Safe HaskellNone

Data.Array.Accelerate.Type

Description

 

Synopsis

Documentation

module Data.Int

module Data.Word

class Typeable8 t whereSource

Methods

typeOf8 :: t a b c d e f g h -> TypeRepSource

Instances

typeOf7Default :: (Typeable8 t, Typeable a) => t a b c d e f g h -> TypeRepSource

class Typeable9 t whereSource

Methods

typeOf9 :: t a b c d e f g h i -> TypeRepSource

typeOf8Default :: (Typeable9 t, Typeable a) => t a b c d e f g h i -> TypeRepSource

data IntegralDict a whereSource

Constructors

IntegralDict :: (Bounded a, Enum a, Eq a, Ord a, Show a, Bits a, Integral a, Num a, Real a, Storable a) => IntegralDict a 

data FloatingDict a whereSource

Constructors

FloatingDict :: (Enum a, Eq a, Ord a, Show a, Floating a, Fractional a, Num a, Real a, RealFrac a, RealFloat a, Storable a) => FloatingDict a 

data NonNumDict a whereSource

Constructors

NonNumDict :: (Bounded a, Enum a, Eq a, Ord a, Show a, Storable a) => NonNumDict a 

data NonNumType a whereSource

Non-numeric types supported in array computations.

Instances

data NumType a whereSource

Numeric element types implement Num & Real

Instances

data BoundedType a whereSource

Bounded element types implement Bounded

Instances

data ScalarType a whereSource

All scalar element types implement Eq, Ord & Enum

Instances

data TupleType a whereSource

Constructors

UnitTuple :: TupleType () 
SingleTuple :: ScalarType a -> TupleType a 
PairTuple :: TupleType a -> TupleType b -> TupleType (a, b) 

data Boundary a Source

Boundary condition specification for stencil operations.

Constructors

Clamp

clamp coordinates to the extent of the array

Mirror

mirror coordinates beyond the array extent

Wrap

wrap coordinates around on each dimension

Constant a

use a constant value for outlying coordinates

Instances

Read a => Read (Boundary a) 
Show a => Show (Boundary a)