futhark-0.25.22: An optimising compiler for a functional, array-oriented language.
Safe HaskellSafe-Inferred
LanguageGHC2021

Futhark.Optimise.TileLoops.Shared

Synopsis

Documentation

type Env = (WithEnv, IxFnEnv) Source #

type VarianceTable = Map VName Names Source #

The variance table keeps a mapping from a variable name (something produced by a Stm) to the kernel thread indices that name depends on. If a variable is not present in this table, that means it is bound outside the kernel (and so can be considered invariant to all dimensions).

data TileKind Source #

Are we working with full or partial tiles?

Constructors

TilePartial 
TileFull