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

Safe HaskellNone

Graphics.Gloss.Accelerate.Render

Synopsis

Documentation

type Render = forall a b. (Arrays a, Arrays b) => (Acc a -> Acc b) -> a -> bSource

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 :: RenderSource

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.