Require the AlpakaService to be enabled before running on a Device [12.5.x]
PR description:
Require the AlpakaService to be enabled before running on a Device.
Move the check that the corresponding AlpakaService is enabled from the beginStream() method of each EDProducer to the alpakatools::chooseDevice() central function.
This replicates the behaviour currently used by the CUDA "framework".
PR validation:
Unit tests pass.
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:
Backport of #39498 to 12.5.x.
A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_12_5_X.
It involves the following packages:
- HeterogeneousCore/AlpakaCore (heterogeneous)
- HeterogeneousCore/AlpakaTest (heterogeneous)
@cmsbuild, @makortel, @fwyzard can you please review it and eventually sign? Thanks. @makortel, @missirol, @rovere this is something you requested to watch as well. @perrotta, @dpiparo, @rappoccio you are the release manager for this.
cms-bot commands are listed here
- Backported from #39498
backport #39498
please test
+1
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2a4aa4/27762/summary.html
COMMIT: 3b56704c81ebc243eeb41407cdf93b692b4ee594
CMSSW: CMSSW_12_5_X_2022-09-25-0000/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/39497/27762/install.sh to create a dev area with all the needed externals and cmssw changes.
Comparison Summary
Summary:
- No significant changes to the logs found
- Reco comparison results: 6 differences found in the comparisons
- DQMHistoTests: Total files compared: 51
- DQMHistoTests: Total histograms compared: 3699454
- DQMHistoTests: Total failures: 13
- DQMHistoTests: Total nulls: 1
- DQMHistoTests: Total successes: 3699418
- DQMHistoTests: Total skipped: 22
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: -0.004 KiB( 50 files compared)
- DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
- Checked 212 log files, 49 edm output root files, 51 DQM output files
- TriggerResults: no differences found
Pull request #39497 was updated. @cmsbuild, @makortel, @fwyzard can you please check and sign again.
enable gpu
please test
-1
Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2a4aa4/27946/summary.html
COMMIT: 5e92241f5231411e8f4b0568ed2c5ea20a67086d
CMSSW: CMSSW_12_5_X_2022-10-03-1100/el8_amd64_gcc10
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/39497/27946/install.sh to create a dev area with all the needed externals and cmssw changes.
RelVals-INPUT
- 50204.0
50204.0_QQH1352T_13+QQH1352T_13INPUT+DIGIUP15_PU50+RECOUP15_PU50+HARVESTUP15_PU50/step2_QQH1352T_13+QQH1352T_13INPUT+DIGIUP15_PU50+RECOUP15_PU50+HARVESTUP15_PU50.log - 50205.0
DAS Error - 50206.0
DAS Error
Expand to see more relval errors ...
- 50207.0
- 50208.0
- 1003.0
- 1010.0
- 1020.0
- 1102.0
- 4000.0
- 4001.0
- 4002.0
- 4003.0
- 10004.0
- 10008.0
- 10023.0
- 10024.1
- 10024.2
- 10024.4
- 10025.0
- 10071.0
- 10224.0
- 10801.0
- 10804.0
- 10805.31
- 10806.0
- 10823.0
- 10824.5
- 10824.501
- 10824.6
- 10824.8
- 10842.0
- 10842.505
- 11024.0
- 11024.15
- 11025.0
- 11224.6
Comparison Summary
Summary:
- No significant changes to the logs found
- Reco comparison results: 2 differences found in the comparisons
- DQMHistoTests: Total files compared: 51
- DQMHistoTests: Total histograms compared: 3699454
- DQMHistoTests: Total failures: 8
- DQMHistoTests: Total nulls: 0
- DQMHistoTests: Total successes: 3699424
- DQMHistoTests: Total skipped: 22
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: 0.0 KiB( 50 files compared)
- Checked 212 log files, 49 edm output root files, 51 DQM output files
- TriggerResults: no differences found
GPU Comparison Summary
Summary:
- No significant changes to the logs found
- Reco comparison results: 0 differences found in the comparisons
- Reco comparison had 3 failed jobs
- DQMHistoTests: Total files compared: 4
- DQMHistoTests: Total histograms compared: 19876
- DQMHistoTests: Total failures: 10
- DQMHistoTests: Total nulls: 0
- DQMHistoTests: Total successes: 19866
- DQMHistoTests: Total skipped: 0
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: 0.0 KiB( 3 files compared)
- Checked 12 log files, 9 edm output root files, 4 DQM output files
- TriggerResults: no differences found
please test
+1
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2a4aa4/27958/summary.html
COMMIT: 5e92241f5231411e8f4b0568ed2c5ea20a67086d
CMSSW: CMSSW_12_5_X_2022-10-03-1100/el8_amd64_gcc10
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/39497/27958/install.sh to create a dev area with all the needed externals and cmssw changes.
Comparison Summary
Summary:
- No significant changes to the logs found
- Reco comparison results: 6 differences found in the comparisons
- DQMHistoTests: Total files compared: 51
- DQMHistoTests: Total histograms compared: 3699454
- DQMHistoTests: Total failures: 13
- DQMHistoTests: Total nulls: 1
- DQMHistoTests: Total successes: 3699418
- DQMHistoTests: Total skipped: 22
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: -0.004 KiB( 50 files compared)
- DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
- Checked 212 log files, 49 edm output root files, 51 DQM output files
- TriggerResults: no differences found
GPU Comparison Summary
Summary:
- No significant changes to the logs found
- Reco comparison results: 0 differences found in the comparisons
- DQMHistoTests: Total files compared: 4
- DQMHistoTests: Total histograms compared: 19876
- DQMHistoTests: Total failures: 8
- DQMHistoTests: Total nulls: 0
- DQMHistoTests: Total successes: 19868
- DQMHistoTests: Total skipped: 0
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: 0.0 KiB( 3 files compared)
- Checked 12 log files, 9 edm output root files, 4 DQM output files
- TriggerResults: no differences found
Pull request #39497 was updated. @cmsbuild, @makortel, @fwyzard can you please check and sign again.
Rebased.
enable gpu
please test
+heterogeneous
This pull request is fully signed and it will be integrated in one of the next CMSSW_12_5_X IBs after it passes the integration tests and once validation in the development release cycle CMSSW_12_6_X is complete. 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)
+1
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2a4aa4/28602/summary.html
COMMIT: 1a3bb770bbec8fcae45045dd5b4c2963371fbd3d
CMSSW: CMSSW_12_5_X_2022-10-28-1100/el8_amd64_gcc10
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/39497/28602/install.sh to create a dev area with all the needed externals and cmssw changes.
Comparison Summary
Summary:
- No significant changes to the logs found
- Reco comparison results: 4 differences found in the comparisons
- DQMHistoTests: Total files compared: 51
- DQMHistoTests: Total histograms compared: 3702776
- DQMHistoTests: Total failures: 148
- DQMHistoTests: Total nulls: 0
- DQMHistoTests: Total successes: 3702606
- DQMHistoTests: Total skipped: 22
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: 0.0 KiB( 50 files compared)
- Checked 212 log files, 49 edm output root files, 51 DQM output files
- TriggerResults: no differences found
GPU Comparison Summary
Summary:
- No significant changes to the logs found
- Reco comparison results: 0 differences found in the comparisons
- DQMHistoTests: Total files compared: 4
- DQMHistoTests: Total histograms compared: 19876
- DQMHistoTests: Total failures: 16
- DQMHistoTests: Total nulls: 0
- DQMHistoTests: Total successes: 19860
- DQMHistoTests: Total skipped: 0
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: 0.0 KiB( 3 files compared)
- Checked 12 log files, 9 edm output root files, 4 DQM output files
- TriggerResults: no differences found
+1