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

Futhark.Optimise.ArrayLayout.Layout

Synopsis

Documentation

layoutTableFromIndexTable :: Layout rep => PrimExpTable -> IndexTable rep -> LayoutTable Source #

Given an ordering function for DimAccess, and an IndexTable, return a LayoutTable. We remove entries with no results after permutationFromDimAccess

class Layout rep Source #

Minimal complete definition

permutationFromDimAccess

Exposed for testing

commonPermutationEliminators :: [Int] -> [BodyType] -> Bool Source #

Reasons common to all backends to not manifest an array.