-
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
GPU refactor common code from ECAL multifit and HCAL mahi #32144
GPU refactor common code from ECAL multifit and HCAL mahi #32144
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32144/19816
|
A new Pull Request was created by @mariadalfonso for master. It involves the following packages: DataFormats/CaloRecHit @perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@mariadalfonso could you change the title of the PR to be a bit more descriptive ?
@jpata @perrotta I can rebase #31719 and #31720 and remove the common code once this is merged. |
Hi @mariadalfonso - dependency-wise, what drives this to go to DataFormats? (its clearly not a data format but an algorithm). Could it instead go to a package like RecoLocalCalo/CommonAlgos (would be new) or CommonTools/RecoAlgos (if the usage is to grow beyond RecoLocalCalo)? |
Hi @davidlange6, the use of If necessary, things can be moved again of course, but I would agree to that only after all PRs depending on it have been merged. |
The minimal suggestion to move this from DataFormats/Math -> DataFormats/CaloRecHit was to discourage this apparently calorimeter-specific code to be relied on by others for generic math operations. I agree that as it's not a dataformat as such, it would have a better home in some non-DataFormats package - thx for the suggestion.
Sounds good to me. |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
Per the discussion in #31735, there is some motivation to reconsider the use of Eigen dependencies in DataFormats, and thus moving the common calo methods as David has suggested. I would not set this as a blocker for this PR necessarily (considering the timeline of the patatrack integration effort), but to be kept in mind as an additional data point. Although no new unit tests were added for the new functions in this PR (see #31880), it would be good to make sure the existing unit tests at least are running. It seems like with I was trying instead to run the test on my local GPU machine as I have done successfully in the past for the previous patatrack PR #31704 (comment), however, the latest cuda update in CMSSW cms-sw/cmsdist@e412958 requires driver updates which I'm addressing on my infrastructure. |
@jpata, Yes this is on my to do list but will take some time (hopefully by the end of the year) |
OK, thank you for confirming (also that I didn't misunderstand whether/how this is supposed to work)! Meanwhile, I was able to run the existing unit test successfully at least on my machine: $ ./test/slc7_amd64_gcc820/test_calo_rechit
0, 10 GeV, 1 ns flags=0x0 aux=0x0
0, 10 GeV, 1 ns flags=0x0 aux=0x0
all good! I have no further comments from the reco side, modulo the Eigen-in-Dataformats / package location issue. |
@jpata |
To keep track of this and other requests, I would suggest to create an issue on GitHub to collect all the changes that should be made after the initial PRs have been merged. |
I opened an issue for this #32159, from my side, I would be OK to move forward like this. I'll wait for comments before proceeding with the reco signature. |
@jpata, could you sign this for RECO to have it merged and allow testing more properly the ECAL and HCAL PRs ? |
+reconstruction
|
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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
move here function used both in
RecoLocalCalo/EcalRecProducers/plugins/AmplitudeComputationKernels.cu
and
RecoLocalCalo/HcalRecProducers/src/MahiGPU.cu
@fwyzard