Skip to content
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

Add Alpaka Implementation of PFClusterProducer #43130

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

jsamudio
Copy link
Contributor

@jsamudio jsamudio commented Oct 27, 2023

PR description:

This pull request is a follow up to #42807. It adds SoA formats for PFClusters and PFRecHitFractions as well as an Alpaka based producer for them. The module relies on the usage of the PFRecHitProducer introduced in the #42807. Included is an alpaka process modifier to use for cmsDriver commands. --procModifiers alpaka will replace the existing HCAL PF clustering with a chain using alpaka modules. Once the changes in #43229 are merged, we will use --procModifiers alpaka to replace existing HCAL PF clustering with the alpaka equivalents. We plan an additional follow up to read HCAL thresholds from DB in this module once the changes in #43025 converge.

PR validation:

We have performed extensive validation of the PF Clusters and their use in the full PF Validation outlined in Validation/RecoParticleFlow/.

We observe only minor precision based energy differences in the clusters which have no significant impact to relevant PF outputs.

Validation plots are linked here: https://hep.baylor.edu/jsamudio/pfClusterProducerAlpakaValidation/

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:

PR is not a backport.

@hatakeyamak

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43130/37401

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 27, 2023

A new Pull Request was created by @jsamudio for master.

It involves the following packages:

  • Configuration/ProcessModifiers (operations)
  • Configuration/StandardSequences (operations)
  • DataFormats/ParticleFlowReco (reconstruction)
  • RecoParticleFlow/PFClusterProducer (reconstruction)
  • RecoParticleFlow/PFClusterProducerAlpaka (****)
  • RecoParticleFlow/PFRecHitProducer (reconstruction)
  • Validation/RecoParticleFlow (dqm)

The following packages do not have a category, yet:

RecoParticleFlow/PFClusterProducerAlpaka
Please create a PR for https://github.com/cms-sw/cms-bot/blob/master/categories_map.py to assign category

@syuvivida, @antoniovilela, @cmsbuild, @fabiocos, @tjavaid, @rappoccio, @jfernan2, @antoniovagnerini, @rvenditti, @davidlange6, @mandrenguyen, @nothingface0 can you please review it and eventually sign? Thanks.
@thomreis, @ReyerBand, @slomeo, @mmusich, @dgulhan, @sameasy, @mtosi, @lgray, @VinInn, @makortel, @felicepantaleo, @argiro, @rchatter, @JanFSchulte, @ebrondol, @rovere, @GiacomoSguazzoni, @hatakeyamak, @VourMa, @mmarionncern, @missirol, @seemasharmafnal, @fabiocos, @Martin-Grunewald, @wang0jin this is something you requested to watch as well.
@sextonkennedy, @antoniovilela, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@swagata87
Copy link
Contributor

type pf

@cmsbuild cmsbuild added the pf label Oct 27, 2023
Copy link
Contributor

@makortel makortel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursory look up to RecoParticleFlow/PFClusterProducerAlpaka/plugins/alpaka/PFClusterProducerAlpaka.cc.

One question I have is if the new package is really necessary? (I haven't digested the code enough to form an opinion though)

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43130/37422

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@fwyzard
Copy link
Contributor

fwyzard commented Oct 30, 2023

assign heterogeneous

@hatakeyamak
Copy link
Contributor

@jsamudio re-run the code-format?

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43130/37438

  • This PR adds an extra 32KB to repository

  • Found files with invalid states:

    • RecoParticleFlow/PFClusterProducerAlpaka/interface/tmpEdgeSoA.h:
    • RecoParticleFlow/PFClusterProducerAlpaka/interface/alpaka/tmpEdgeDeviceCollection.h:
    • RecoParticleFlow/PFClusterProducerAlpaka/interface/tmpSoA.h:
    • RecoParticleFlow/PFClusterProducerAlpaka/interface/alpaka/PFClusterProducerKernel.h:
    • RecoParticleFlow/PFClusterProducerAlpaka/plugins/AlpakaPFCommon.h:
    • RecoParticleFlow/PFClusterProducerAlpaka/interface/alpaka/tmpDeviceCollection.h:
  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

New categories assigned: heterogeneous

@fwyzard,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43130/38127

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #43130 was updated. @rvenditti, @antoniovagnerini, @fwyzard, @jfernan2, @mandrenguyen, @tjavaid, @nothingface0, @cmsbuild, @makortel, @syuvivida can you please check and sign again.

@fwyzard
Copy link
Contributor

fwyzard commented Dec 11, 2023

+heterogeneous

@fwyzard
Copy link
Contributor

fwyzard commented Dec 11, 2023

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b729dc/36418/summary.html
COMMIT: e381569
CMSSW: CMSSW_14_0_X_2023-12-11-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43130/36418/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@mandrenguyen
Copy link
Contributor

+reconstruction

@fwyzard
Copy link
Contributor

fwyzard commented Dec 13, 2023

@cms-sw/dqm-l2 , could you please review or sign this PR ?

@tjavaid
Copy link

tjavaid commented Dec 13, 2023

+1

@cmsbuild
Copy link
Contributor

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. @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@rappoccio
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants