-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate the routing for control flows and data flows #1082
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a677fe5
init commit
Yu-Zhewen 282596d
fix test
Yu-Zhewen d04e59f
Merge branch 'main' into zhewen_priority_routing
Yu-Zhewen 49b8357
Merge branch 'main' into zhewen_priority_routing
Yu-Zhewen 6bdfa15
fix format
Yu-Zhewen 5f0ff48
Merge branch 'main' into zhewen_priority_routing
Yu-Zhewen e823736
test different orders
Yu-Zhewen 6d163c6
Merge branch 'main' into zhewen_priority_routing
Yu-Zhewen 80f28d1
add more comments and cleanup
Yu-Zhewen 7644c29
rename pre-routed to prior/previously-routed
Yu-Zhewen 75dcf00
Merge branch 'main' into zhewen_priority_routing
Yu-Zhewen 23b93ab
rename test and use explicit types
Yu-Zhewen 13eb2f1
Merge branch 'main' into zhewen_priority_routing
Yu-Zhewen 5acf759
resolve comments
Yu-Zhewen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
450 changes: 306 additions & 144 deletions
450
compiler/plugins/target/AMD-AIE/aie/AMDAIECreatePathFindFlows.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,10 +210,10 @@ | |
// CHECK: aie.rule(24, 0, %[[VAL_69]]) | ||
// CHECK: } | ||
// CHECK: aie.packet_rules(EAST : 0) { | ||
// CHECK: aie.rule(31, 9, %3) | ||
// CHECK: aie.rule(31, 10, %3) | ||
// CHECK: aie.rule(27, 11, %3) | ||
// CHECK: aie.rule(24, 8, %2) | ||
// CHECK: aie.rule(31, 13, %[[VAL_70]]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
// CHECK: aie.rule(31, 14, %[[VAL_70]]) | ||
// CHECK: aie.rule(27, 8, %[[VAL_70]]) | ||
// CHECK: aie.rule(24, 8, %[[VAL_71]]) | ||
// CHECK: } | ||
// CHECK: } | ||
// CHECK: %[[TILE_7_5:.*]] = aie.tile(7, 5) | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When lowering
packet_flow
topacket_rule
, the IDs can be used to calculate the mask and value. However, the reverse operation (calculating the IDs from the mask and value) is not feasible, as we will probably get a superset of actual IDs. This can cause issues during the second run of the router.