-
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
Fixes for Alpaka Phase2 Pixel Reco #44874
Conversation
cms-bot internal usage |
type bug-fix |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44874/40132
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
db65c4c
to
149acad
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44874/40133
|
A new Pull Request was created by @AdrianoDee for master. It involves the following packages:
@mandrenguyen, @bsunanda, @fwyzard, @mdhildreth, @cmsbuild, @civanch, @Dr15Jones, @jfernan2, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
enable gpu |
test parameters:
|
Testing with TTbar and NuGun. |
please test |
@@ -111,9 +125,18 @@ namespace pixelClustering { | |||
for (auto i : cms::alpakatools::independent_group_elements(acc, nclus)) { | |||
newclusId[i] = ok[i] = (charge[i] >= chargeCut) ? 1 : 0; | |||
if (0 == ok[i]) | |||
good = false; | |||
good &= false; //better than simple assignment in case of race? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I think that a simple assignment is better, because it does not need to read the old value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, reverting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About the "in case of race", the good
is a local variable, and therefore there should be no data races with it.
Pull request #44874 was updated. @mdhildreth, @bsunanda, @civanch, @Dr15Jones, @fwyzard, @cmsbuild, @mandrenguyen, @jfernan2, @makortel can you please check and sign again. |
please test |
+heterogeneous |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-045e02/39253/summary.html Comparison SummarySummary:
GPU Comparison SummarySummary:
|
@AdrianoDee could you open a PR to backport the changes to 14.0.x ? |
+1 |
Opened here: #44915. |
@cms-sw/reconstruction-l2 any comments from your side, to this PR or its 14.0.x backport (#44915) ? |
+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, @rappoccio, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Few fixes for the Alpaka chain for Phase2 Pixel reconstruction:
clusterBinning
to be < than 32*32 (warpSize*warpSize
for CUDA);SiPixelDigisHost
buffer inCopyToHost
method;ALPAKA_ASSERT_ACC(TrackerTraits::numberOfModules < 2048);
.PR validation:
Running
*.402
wfs for Phase 2 conditions (e.g.25034
TTbar D98 with PU)