-
Notifications
You must be signed in to change notification settings - Fork 129
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
Improve derived variable init for const pointers #919
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
cc: @guitargeek. I have tested this with the atlas likelihood benchmark code, it now works after removing the auxiliary arrays. The runtime results have also improved because of this. |
The failed tests are due to the CUDA download server not being available. |
The issue was that while calling pullbacks, we don't maintain non-differentiable arguments. @PetroZarytskyi had fixed this for most of the cases here: #802, but it still had some more complex cases which required activity analysis, as he mentioned in the PR too. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #919 +/- ##
=======================================
Coverage 94.07% 94.08%
=======================================
Files 53 53
Lines 7747 7757 +10
=======================================
+ Hits 7288 7298 +10
Misses 459 459
|
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 but I'd wait for @PetroZarytskyi's review.
Looks good to me. Sure, this will probably become obsolete once we have activity analysis but this is a great simplification for now. |
This will fix the segmentation fault in roofit benchmarks (when auxiliary arrays are removed).