cms-sw / cmssw

CMS Offline Software
http://cms-sw.github.io/
Apache License 2.0
1.09k stars 4.33k forks source link

Remove unused code from HeterogeneousCore/AlpakaCore #46654

Closed fwyzard closed 1 week ago

fwyzard commented 2 weeks ago

PR description:

Remove unused code from HeterogeneousCore/AlpakaCore.

PR validation:

All packages build and unit tests pass.

fwyzard commented 2 weeks ago

please test

cmsbuild commented 2 weeks ago

cms-bot internal usage

fwyzard commented 2 weeks ago

@makortel any objections to removing this ?

fwyzard commented 2 weeks ago

enable gpu

fwyzard commented 2 weeks ago

please test

cmsbuild commented 2 weeks ago

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46654/42575

cmsbuild commented 2 weeks ago

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

It involves the following packages:

@fwyzard, @makortel can you please review it and eventually sign? Thanks. @makortel, @missirol, @rovere this is something you requested to watch as well. @antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

cmsbuild commented 2 weeks ago

+1

Size: This PR adds an extra 16KB to repository Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6021c2/42717/summary.html COMMIT: fcc9a51f27906264af99f48c4b1d2717dd8f6e65 CMSSW: CMSSW_14_2_X_2024-11-11-1100/el8_amd64_gcc12 Additional Tests: GPU User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46654/42717/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

GPU Comparison Summary

Summary:

makortel commented 2 weeks ago

@makortel any objections to removing this ?

I'm all for removing this unused piece that only creates confusion. Just for the record, the actually used logic for device selection is in https://github.com/cms-sw/cmssw/blob/cea249650467c0724ea7dadb238cef942570c708/HeterogeneousCore/AlpakaCore/src/alpaka/chooseDevice.cc#L8-L9

fwyzard commented 2 weeks ago

+heterogeneous

cmsbuild commented 2 weeks ago

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)

mandrenguyen commented 1 week ago

+1