-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't workingnew featureNew feature or requestNew feature or request
Description
#58 enables the simple cost/award estimation for MRRG mapping.
However, it is now super rough and when I try to include the utilization (e.g., lower utilized tile should be prioritized for placement of an operation), the compiled II unfortunately becomes worse.
For now, the simple for loop's RecMII = 4, ResMII = 1, but CompiledII = 6:
dataflow/test/neura/ctrl/branch_for.mlir
Line 141 in 3a3c554
| // MAPPING: func.func @loop_test() -> f32 attributes {CompiledII = 6 : i32, RecMII = 4 : i32, ResMII = 1 : i32, accelerator = "neura"} { |
Our goal is to decrease
CompiledII from 6 to 4. Note that the pattern matching is orthogonal, which can make RecMII = 1 hopefully.
TODO:
- Figure out why more consideration leads to worse compiled II.
- Include the utilization of HW resources into the heuristic mapping.
- Enable backtrack for operation placement, i.e., if mapping is not valid when an operation is being placed or when a move operation is being routed, we need to backtrack to the previous/producer operation's placement.
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't workingnew featureNew feature or requestNew feature or request