Skip to content

[RR Graph] RR Node Indices Value Type #2941

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

Merged
merged 3 commits into from
Mar 20, 2025
Merged

[RR Graph] RR Node Indices Value Type #2941

merged 3 commits into from
Mar 20, 2025

Conversation

amin1377
Copy link
Contributor

@amin1377 amin1377 commented Mar 19, 2025

This PR updates rr_node_indices_ to store RRNodeId instead of int. This change addresses issues that arise when the RR graph contains more than 2 million nodes. Additionally, it simplifies handling of invalid RRNodeId values and eliminates the need to cast unsigned int to int. This issue was flagged by @heshpdx.

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Mar 19, 2025
@amin1377 amin1377 changed the title [WIP] RR Node Indices Value Type [RR Graph] RR Node Indices Value Type Mar 19, 2025
@amin1377 amin1377 requested a review from vaughnbetz March 19, 2025 15:40
@vaughnb-cerebras
Copy link

Looks good to me! This is a nice cleanup, and it looks like you found and eliminated some unused routines. Thanks.

Copy link
Contributor

@vaughnbetz vaughnbetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vaughnbetz vaughnbetz merged commit c6802d6 into master Mar 20, 2025
36 checks passed
@vaughnbetz vaughnbetz deleted the rr_node_indices branch March 20, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants