-
Notifications
You must be signed in to change notification settings - Fork 414
Add a new API set_node_type()
to RRGraphBuilder
#1847
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
Conversation
…deprecated the old API in rr_node.h
TODO: QoR comparison is under going. |
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.
Looks good, thanks. Will merge when the QoR comparison is in; given the change it's highly unlikely to affect QoR but always good to check.
@tangxifan : just pinging to see if the QoR change data is ready now, so we can check and merge. |
@vaughnbetz It is running late. We just get a new server and it takes some time to set up. It should be ready early next week. Sorry for the delay. |
No worries; when I do a pass through PRs I just make notes in them and prod people so I can remember why it isn't merged yet. No rush :). |
As required for QoR checks, the QoR runs have been finished.
I see some significant changes on runtime but they look quick weird to me. The code changes in this PR in on the RRGraphBuilder, but packer/placer runtime increase for titan benchmarks.
Attached spreadsheet for the detailed QoR of each test: |
Just a note, I resolved code conflicts as another PR merged #1853 . |
Ok I will rerun the QoR tests on this PR. |
@tangxifan I have rerun the tests on this PR and comparison sheets are attached. Summary of QoR
|
Looks good. Will merge when CI goes green. |
Thank @vaughnbetz Will work on another API refactoring. |
@vaughnbetz CI is green now. This PR is ready to merge. |
Link to #1868 So that we keep tracking. |
Description
This PR focuses on updating routing resource graph builder functions, where we use the refactored data structure
RRGraphBuilder
to shadow the discreted data structurerr_graph_storage
.This PR aims to fully deprecate the direct use of the legacy API
set_type()
fromrr_node
data structure.After this PR, the
set_type
API is fully deprecated and theset_node_type
from the refactored data structureRRGraphBuilder
is the only way to use.Checklist:
set_type()
fromrr_node.cpp
andrr_node.h
set_node_type
to data structuresRRGraphBuilder
, whose comments are Doxygen compatibleset_type()
in builder functions byset_node_type()
Related Issue
This pull request is a follow-up PR on the routing resource graph refactoring effort #1805
Motivation and Context
After the previous PR #1837 , we have accomplished the refactoring effort on
RRSpatialLookup
.We now continue the refactoring effort with a focus on shadowing the
rr_graph_storage
APIs inRRGraphBuilder
data structure.This is the 1st PR in the effort, which reworks the
set_node_type()
APIHere is a list about the APIs we will rework:
How Has This Been Tested?
Types of changes
Checklist: