| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Futhark.CodeGen.OpenCL.Kernels
Synopsis
- data SizeHeuristic = SizeHeuristic {}
- data DeviceType
- data WhichSize
- data HeuristicValue
- sizeHeuristicsTable :: [SizeHeuristic]
Documentation
data SizeHeuristic Source #
A heuristic for setting the default value for something.
Constructors
| SizeHeuristic | |
Fields | |
data DeviceType Source #
The type of OpenCL device that this heuristic applies to.
A size that can be assigned a default.
Constructors
| LockstepWidth | |
| NumGroups | |
| GroupSize | |
| TileSize |
data HeuristicValue Source #
The value supplies by a heuristic can be a constant, or inferred from some device information.
Constructors
| HeuristicConst Int | |
| HeuristicDeviceInfo String |
sizeHeuristicsTable :: [SizeHeuristic] Source #
All of our heuristics.