-
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
Fix cudaMemcpyAsync
for localCoordToHostAsync
#40869
Fix cudaMemcpyAsync
for localCoordToHostAsync
#40869
Conversation
cudaMemcpyAsync
for localCoordToHostAsynccudaMemcpyAsync
for localCoordToHostAsync
type bugfix |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40869/34338
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
test parameters:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40869/34339
|
A new Pull Request was created by @AdrianoDee (Adriano Di Florio) for master. It involves the following packages:
@cmsbuild, @makortel, @mandrenguyen, @clacaputo, @fwyzard can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: RelVals RelValsValueError: Undefined workflows: 11634.592, 11634.596 GPU Comparison SummarySummary:
|
urgent
|
+heterogeneous |
please test |
@clacaputo please don't restart the tests uselessly, if you did so because of the relval-input errors, see #40889. If that was the reason, just review the PR as it is. |
please abort |
+reconstruction |
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
please abort Based on #40869 (comment). (Signing a PR with the label 'tests-pending' starts the tests automatically.) |
merge |
PR description:
In
TrackingRecHitSoADevice::localCoordToHostAsync
used inSiPixelRecHitFromCUDA
to fill the legacy hits,cudaMemcpyAsync
is not taking into account the SoA layout buffer padding. So it's copying some wrong portions of memory. This was noted in #40604 and this solves it.This fix is quick and dirty, given also this CUDA to legacy copy will be dropped soon.
PR validation:
Run
11634.59x
.