-
Notifications
You must be signed in to change notification settings - Fork 427
Scatter-gather patterns for 3D architectures #3276
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
base: master
Are you sure you want to change the base?
Conversation
…e function that it calls
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.
Gave a quick review.
@soheilshahrouz I love the cleanups you do, but man you got to split them across PRs; there's so much to review!
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.
Only reviewed until vpr/src/route/DecompNetlistRouter.tpp
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.
Reviewed from DecompNetlistRouter to build_scatter_gathers.cpp.
// TODO: handle CHANZ nodes | ||
|
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.
TODO remaining in final code
|
||
int from_layer_num = rr_graph.node_layer(from_node); | ||
int to_layer_num = rr_graph.node_layer(to_node); | ||
// TODO: handle CHANZ nodes that span multiple layers |
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.
TODO again. Not saying that you have to fix these right now, but a reminder that it is there. I sometimes forget about my TODOs so I'm just making sure that it's intended.
const auto& grid = device_ctx.grid; | ||
|
||
const size_t num_layers = grid.get_num_layers(); | ||
const size_t chan_type_dim_size = (num_layers == 1) ? 2 : 3; |
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.
Add comment explaining this.
if (is_chanxy(from_type) || is_chanz(from_type)) { | ||
int from_layer_num = rr_graph.node_layer(from_node); | ||
int to_layer_num = rr_graph.node_layer(to_node); | ||
// TODO: handle CHANZ nodes |
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.
TODO. Again, just reminding that it exists.
This PR includes the following changes: