Clamp fakePixels to maxFakesInModule#49142
Conversation
|
type bugfix |
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49142/46429
|
|
A new Pull Request was created by @fwyzard for master. It involves the following packages:
@cmsbuild, @jfernan2, @mandrenguyen can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
enable gpu |
|
please test |
|
+1 |
|
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
AMD_MI300X Comparison SummarySummary:
AMD_W7900 Comparison SummarySummary:
NVIDIA_H100 Comparison SummarySummary:
NVIDIA_L40S Comparison SummarySummary:
NVIDIA_T4 Comparison SummarySummary:
|
There was a problem hiding this comment.
this
if (fakePixels > maxFakesInModule) {
if (alpaka::once_per_block(acc)) {
fakePixels = maxFakesInModule;
}
alpaka::syncBlockThreads(acc);
}would indeed be equivalent.
But it's one extra line of code 🤷🏻♂️
There was a problem hiding this comment.
Note that both approaches are fine because they are right after a alpaka::syncBlockThreads(acc);
|
@cms-sw/reconstruction-l2 could you please review this as well as its backport #49144? |
|
+1 |
|
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 be automatically merged. |
PR description:
After running the Pixel digi morphing algorithm, clamp
fakePixelstomaxFakesInModuleto avoid overflowing the histogram container.PR validation:
Run on top of the reproducer at #49125 without any crashes.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
To be backported to 15.1.x and 15.0.x.