-
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
TrackingRecHitsSoACollection
: early return hostData
in CopyHost::copyAsync()
when there aren't hits
#45837
TrackingRecHitsSoACollection
: early return hostData
in CopyHost::copyAsync()
when there aren't hits
#45837
Conversation
cms-bot internal usage |
DataFormats/TrackingRecHitSoA/interface/alpaka/TrackingRecHitsSoACollection.h
Outdated
Show resolved
Hide resolved
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45837/41580 |
A new Pull Request was created by @mmusich for master. 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 |
enable gpu |
test parameters:
|
@cmsbuild, please test |
+1 Size: This PR adds an extra 12KB to repository Comparison SummarySummary:
GPU Comparison SummarySummary:
|
@cms-sw/reconstruction-l2 @cms-sw/heterogeneous-l2 can you have a look? |
urgent |
d9eb4a3
to
e7893f2
Compare
@cmsbuild 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 master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @mandrenguyen, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR is meant as a fix for #45834, and builds on top of the earlier fix #45743 for 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:
Not a backport, but will need to be backported down to
CMSSW_14_0_X
for data-taking purposes.