loop_order_bnb
loop_order_bfs(expr, stats_factory, stats_bindings, output_vars=None, *, k=None, cost_model=None)
¶
Search prefixes with nonnegative incremental model costs as lower bounds.
Source code in src/finch/autoschedule/loop_orderer/loop_order_bnb.py
loop_order_brute_force(expr, stats_factory, stats_bindings, output_vars=None, *, cost_model=None)
¶
Pick the loop order with the lowest model cost over all permutations.
Ties keep the first permutation in expr.fields() order. Exponential in the
number of indices; intended as an oracle for small nests and benchmarks.
Source code in src/finch/autoschedule/loop_orderer/loop_order_bnb.py
loop_order_dfs(expr, stats_factory, stats_bindings, output_vars=None, *, cost_model=None)
¶
Search prefixes with nonnegative incremental model costs as lower bounds.