-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
fix HGCAL Layer Cluster times in heterogeneous workflows at HLT #45838
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45838/41582 |
A new Pull Request was created by @AuroraPerego for master. It involves the following packages:
@cmsbuild, @jfernan2, @mandrenguyen, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
thanks @AuroraPerego for the investigation and the fix. |
@cmsbuild please test |
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
|
for (unsigned int i = 0; i < clusters->size(); ++i) { | ||
times[i].reserve(16); | ||
timeErrors[i].reserve(16); | ||
} |
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.
Would it make sense to embed this loop into the previous one at lines 69 to 77? In this way, the heuristic is not even necessary and the size can be reserved correctly (i.e. the maximum possible, eventually some rechits will be discarded from the timing computation).
95e7d74
to
c733b85
Compare
@cmsbuild please test |
The bot seems to be a little stuck... |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45838/41597 |
test parameters:
|
@cmsbuild please test |
-1 Failed Tests: RelVals-GPU RelVals-INPUT
RelVals-GPUValueError: Undefined workflows: 31834.492 RelVals-INPUT
Expand to see more relval errors ...
Comparison SummarySummary:
|
test parameters:
|
please test |
+1 Size: This PR adds an extra 12KB to repository Comparison SummarySummary:
GPU Comparison SummarySummary:
|
+1 |
+Upgrade |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
The
times
andtimeErrors
vectors used to store the rechits time were initialized with a size of 16, but thenpush_back
was used to fill them leaving the first 16 entries as 0.This PR removes the allocation of 16 elements in the constructor, using
reserve()
instead.The change affects only heterogeneous workflows at the HLT.
PR validation:
Tested on wf 31834.492, the HGCAL Layer Clusters times are expected to change:
old -> pre fix
new -> post fix
FYI @rovere