Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Render = forall a b. (Arrays a, Arrays b) => (Acc a -> Acc b) -> a -> b
- defaultRender :: Render
Documentation
type Render = forall a b. (Arrays a, Arrays b) => (Acc a -> Acc b) -> a -> b Source
The type of executing Accelerate computations. The CUDA and Interpreter
backends both provide a function run1
that can be used.
Some variants of the display functions take an argument of this type, which determine how computations are executed.
defaultRender :: Render Source
The set of backends available to execute Accelerate programs. The default chooses the fastest available, which is currently the CUDA backend. This is controlled via the import statements.