gloss-raster-accelerate-1.8.15.0: Parallel rendering of raster images using Accelerate

Safe HaskellNone
LanguageHaskell2010

Graphics.Gloss.Accelerate.Render

Synopsis

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.