futhark-0.9.1: An optimising compiler for a functional, array-oriented language.

Safe HaskellSafe
LanguageHaskell2010

Futhark.CodeGen.OpenCL.Kernels

Synopsis

Documentation

data SizeHeuristic Source #

A heuristic for setting the default value for something.

data DeviceType Source #

The type of OpenCL device that this heuristic applies to.

Constructors

DeviceCPU 
DeviceGPU 

data WhichSize Source #

A size that can be assigned a default.

data HeuristicValue Source #

The value supplies by a heuristic can be a constant, or inferred from some device information.

sizeHeuristicsTable :: [SizeHeuristic] Source #

All of our heuristics.