factorize_cost_models
FactorizeBasis
¶
A basis where each query statement is a component, in program order. get_component_features returns one row for each statement.
Source code in src/finch/autoschedule/cost_models/factorize_cost_models.py
FlopsBasis
¶
Bases: FactorizeBasis, AliasedForm
FlopsBasis counts the non-fill values in the iteration space of each query, and in the output it materializes. Each query is a component.
Source code in src/finch/autoschedule/cost_models/factorize_cost_models.py
LoopDepthBasis
¶
Bases: FactorizeBasis, AliasedForm
LoopDepthBasis counts the fields each query loops over, so that a greedy search reduces the indices which keep the deepest loop nest shallow. It needs only the shapes of its statistics. Each query is a component.