Skip to content

[AP][GP] Tuning Parameters #3202

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

AlexandreSinger
Copy link
Contributor

Tuned some of the parameters for the global placement stage. The goal of this tuning was to speed up the global placer as much as reasonable, while retaining similar quality.

Reduced the B2B convergence gap slightly to allow the B2B solver to converge on a more accurate solution.

Reduced the number of B2B convergences required before stopping from 2 to 1. I found that this did not provide as much quality, and reducing this greatly improved the solver's speed.

Reduced the max number of CG iterations. This should further improve the speed of the solver.

Reduced the relative gap between the upper and lower bound solutions in the global placer from 5% to 1%.

Tuned some of the parameters for the global placement stage. The goal of
this tuning was to speed up the global placer as much as reasonable,
while retaining similar quality.

Reduced the B2B convergence gap slightly to allow the B2B solver to
converge on a more accurate solution.

Reduced the number of B2B convergences required before stopping from 2
to 1. I found that this did not provide as much quality, and reducing
this greatly improved the solver's speed.

Reduced the max number of CG iterations. This should further improve the
speed of the solver.

Reduced the relative gap between the upper and lower bound solutions in
the global placer from 5% to 1%.
@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Jul 14, 2025
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

@AlexandreSinger AlexandreSinger merged commit b8dd8d0 into verilog-to-routing:master Jul 24, 2025
30 checks passed
@AlexandreSinger AlexandreSinger deleted the feature-ap-solver-updates branch July 24, 2025 16:57
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.

2 participants