-
Notifications
You must be signed in to change notification settings - Fork 99
fix wrong condition with benchmark_from_scratch #1916
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
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.
The benchmark tests are failing. Is benchmark_from_scratch
being enabled by default ? The comparison output needs to be updated then, I think
It is currently disabled by default -> the benchmark will reuse the same solver object |
5125175
to
710011c
Compare
DEBUG: begin dense::fill | ||
DEBUG: end dense::fill | ||
DEBUG: begin dense::fill | ||
DEBUG: end dense::fill |
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.
because we avoid reinitialization now
DEBUG: begin dense::copy | ||
DEBUG: end dense::copy | ||
DEBUG: end copy(<typename>) | ||
DEBUG: begin generate(<typename>) |
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.
first run before repetition to ensure workspace and constant are ready
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.
LGTM!
- removal because we do clone twice when from scratch - addition because we perform first run ensuring workspace. repetition one are the same up to some initalization
710011c
to
631a010
Compare
|
This PR fixes the wrong condition with
benchmark_from_scratch
in #1881 .It should generate the one explicitly when we do not want to measure timing from scratch