-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[14.0.X] TrackingRecHitsSoACollection
: early return hostData
in CopyHost::copyAsync()
when there aren't hits
#45858
[14.0.X] TrackingRecHitsSoACollection
: early return hostData
in CopyHost::copyAsync()
when there aren't hits
#45858
Conversation
type bug-fix |
A new Pull Request was created by @mmusich for CMSSW_14_0_X. It involves the following packages:
@cmsbuild, @fwyzard, @jfernan2, @makortel, @mandrenguyen can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
cms-bot internal usage |
enable gpu |
please test |
+heterogeneous |
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
GPU Comparison SummarySummary:
|
+1 |
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_2_X is complete. This pull request will now be reviewed by the release team before it's merged. @rappoccio, @antoniovilela, @sextonkennedy, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
backport of #45837
PR description:
This PR is meant as a fix for #45834, and builds on top of the earlier fix #45744 or issue #45708.
In a nutshell,
CopyHost::copyAsync()
returns before thealpaka::memcpy
call inTrackingRecHitsSoACollection
if thesize()
of the inputdeviceData
is null (i.e. there are no input hits).Additionally protect
CAHitNtupletGenerator
by returning before launching kernels when there are less than 2 hits.PR validation:
Multiple tests have been performed with this branch:
I tested successfully (on
lxplus8-gpu
):OneToManyAssoc
assertion faillure in HLT menu inCMSSW_14_0_15
#45834 (comment) (standard FOG-like tests for pp)serial_sync
backend #45708 (comment) (hybrid GPU+CPU menu,HIon
-like)runTheMatrix.py --what upgrade -l 12861.402
Additionally, following the example at #45834 (comment) I I feed the "alpaka-migrated" menu from CMSHLT-3284 into the relval machinery via:
and then apply the following patch:
in a release that I have prepared with this and then finally run:
runTheMatrix.py --what upgrade -l 15261.0 --maxSteps 2
(neutrino gun input)runTheMatrix.py --what upgrade -l 15224.0 --maxSteps 2
(TTbar input)Both tests run fine.
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 #45837 to CMSSW_14_0_X for data-taking purposes.