Skip to content
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

[vpr][place] ts_nets_to_update now uses size() instead of num_nets #2654

Closed

Conversation

robluo
Copy link

@robluo robluo commented Jul 18, 2024

For runtime reasons, we initialize ts_nets_to_update to the number of nets in the netlist and use a variable num_affected_nets to indicate how many entries are valid. You can experiment to see how runtime is affected if we remove this variable and just reserve elements in this vector and use .size().

The runtime comparison is here: https://docs.google.com/spreadsheets/d/16B169bYI39vUT3wa-vwdqTjXjzJsO9QO7mYUpHC_LdI/edit?usp=sharing

Functional statistic such as final wire length remains the same.
Run time also remains the same.

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Jul 18, 2024
Base automatically changed from placement_move_primitive to master July 19, 2024 18:03
@robluo robluo closed this Jul 22, 2024
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.

1 participant