loop_order_bnb
loop_order_brute_force(expr, stats_factory, stats_bindings, output_vars=None)
Pick the loop order with the lowest loop_order_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
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | |