accelerate-0.6.0.0: An embedded language for accelerated array processing

Portabilitynon-portable (GHC extensions)
Stabilityexperimental
MaintainerManuel M T Chakravarty <chak@cse.unsw.edu.au>

Data.Array.Accelerate.Interpreter

Contents

Description

This interpreter is meant to be a reference implementation of the semantics of the embedded array language. The emphasis is on defining the semantics clearly, not on performance.

Synopsis

Interpret an array expression

class Delayable as => Arrays as Source

Characterises the types that may be returned when running an array program.

Instances

Arrays () 
(Arrays as1, Arrays as2) => Arrays (as1, as2) 
Arrays (Array dim e) 

run :: Arrays a => Acc a -> aSource

Run a complete embedded array program using the reference interpreter.