-
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 a race condition in splitVertices [14.0.x] #45655
Conversation
type bugfix |
A new Pull Request was created by @fwyzard for CMSSW_14_0_X. It involves the following packages:
@cmsbuild, @jfernan2, @mandrenguyen can you please review it and eventually sign? Thanks. cms-bot commands are listed here
|
cms-bot internal usage |
@mmusich @AdrianoDee @missirol FYI, but also can you double check this ? |
Add alpaka::syncBlockThreads(acc); at the end of the loop on the vertices to ensure that all threads are properly synchronised before resetting the shared memory. Clean up the kernel to use the SoA accessors and the cms::alpakatools utilities.
0264457
to
5408c0f
Compare
Pull request #45655 was updated. @cmsbuild, @jfernan2, @mandrenguyen can you please check and sign again. |
backport #45656 |
please test |
enable gpu |
please test |
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
|
All the changes looks good to me |
+reconstruction |
This pull request is fully signed and it will be integrated in one of the next CMSSW_14_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_14_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @sextonkennedy, @mandrenguyen, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Add
alpaka::syncBlockThreads(acc);
at the end of the loop on the vertices to ensure that all threads are properly synchronised before resetting the shared memory.
Clean up the kernel to use the SoA accessors and the
cms::alpakatools
utilities.PR validation:
Running the HLT with
compute-sanitizer --tool=racecheck
without this PR warns about a potential race condition insplitVertices()
.This PR fixes the warning: see #44923 (comment).
Running the current online HLT menu over 20k events on top of CMSSW 14.0.13-patch2 does not result in any changes to the HLT results (see #45656 (comment)) and performance on GPU (see #45656 (comment)).
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:
Backport of #45656 to 14.0.x for data taking.