fix: wrong slices calculation
- Previously we computed slices based on their level in bfs tree traversal. This was wrong, as motions that were independent could be in different slices - Fix that, now we the slice in which motion will be is the max number of other motion nodes in path from this motion to any leaf node
Showing
- sbroad-core/src/executor/tests/exec_plan.rs 1 addition, 1 deletionsbroad-core/src/executor/tests/exec_plan.rs
- sbroad-core/src/ir/transformation/redistribution.rs 44 additions, 25 deletionssbroad-core/src/ir/transformation/redistribution.rs
- sbroad-core/src/ir/transformation/redistribution/tests.rs 154 additions, 0 deletionssbroad-core/src/ir/transformation/redistribution/tests.rs
Loading
Please register or sign in to comment