pub fn compute_importance(
dims: &[usize],
all_strides: &[&[isize]],
index_orders: &[Vec<usize>],
) -> Vec<u64>Expand description
Compute the “importance” of each dimension for loop ordering.
This encodes stride order information into importance scores that determine the optimal iteration order. The output array’s strides are weighted 2x.