-
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
ECAL DQM GpuTask move enable flag checks to avoid unused collections from being consumed #39371
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39371/32076
|
A new Pull Request was created by @alejands (Alejandro Sanchez) for master. It involves the following packages:
@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @syuvivida, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
type ecal |
type bug |
enable gpu |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72a53/27489/summary.html Comparison SummarySummary:
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72a53/27511/summary.html GPU Comparison SummarySummary:
Comparison SummarySummary:
|
+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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
The
GpuTask
switches for toggling individual collections were not being checked before the collection tags were consumed. The initial check is done here:cmssw/DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc
Lines 46 to 48 in e5ac8e9
task->analyze()
here needs to returnfalse
so the collections aren't consumed.The
consumes
functions are then called inside this function:cmssw/DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc
Line 64 in e5ac8e9
The switches are moved to make sure that unused collections are not consumed if they are individually toggled.
PR validation:
Code compiles. The switches are now in the same spot as the "master" switch
runGpuTask
which we already know functions as expected.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:
Backports made to 12_5_X and 12_4_X to use the fix in production.