-
Notifications
You must be signed in to change notification settings - Fork 415
Remaining malloc to new #2100
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
Remaining malloc to new #2100
Conversation
Getting close: please confirm all review suggestions addressed (and push latest code), resolve conflicts, and upload the latest QoR spreadsheet and summarize. Then we can merge. |
Looks like there are a few errors in the QoR tests -- I think results were not generated for a few runs, like: |
@jmah76 : can you take a look? Not sure why warnings passed on this one, and not on Sebastian's PR (maybe he needs to update the branch)? |
6 failures (missing QoR data?) in nightly_test1. One slightly higher vpr_max_mem on a small design in nightly_test2: The nightly test 2 failure is spurious; you can just update the golden results to have the new memory footprint number (it's not a big change -- just slightly more than the allowed 20%). |
It's not missing QoR data-- one of the ASSERTs in bucket.cpp is failing because of the shift from using a vector to temporarily store the heap_ array for the resize to changing the heap_ array to a vector. I don't know why this is happening. |
If you can't sort it you can revert that one (just go back). If you look at it closely hopefully you can figure out the bug, but if not, revert. The bucket heap is only used for the Artix7 (Symbiflow) compiles, so it's not really the default flow. |
I reverted only bucket.cpp back, and vtr_reg_nightly 1 seems to be working now. If it's okay, to fix vtr_neg_nightly 2, I'll do what you suggested here:
|
Yup, that's fine. |
CI passed. @jmah76 : can you attach the QoR comparison data so we see all is well (should be, but I'd like to check). There was some earlier data attached but I believe it had parse errors and wasn't correct. |
QoR generally looks good (unchanged critical paths, wirelength etc. on the vtr benchmarks, and roughly tied cpu time). Memory footprint is unchanged on the larger designs, but goes up by 1.6x or even 2.2x on the smaller designs; suspect some small data structures is consuming more memory due to being turned into a vector but it has no impact on larger designs since not dominant / at peak. To be careful @jmah76 will attach the vtr QoR spreadsheet and run and attach the Titan one. |
@vaughnbetz Full Titan QoR results are on my wiki. Nothing looks concerning... |
Thanks. Looks good, so merging. |
Description
Changed remaining malloc/calloc/reallocs to new.
How Has This Been Tested?
Passes all CI tests.
Types of changes
Checklist: