-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Move pixelTracksCPU module definition inside SwitchProducerCUDA #37562
Move pixelTracksCPU module definition inside SwitchProducerCUDA #37562
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37562/29293
|
A new Pull Request was created by @makortel (Matti Kortelainen) for master. It involves the following packages:
@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
@cmsbuild, please abort
|
be9cd78
to
d942c99
Compare
@@ -132,7 +129,7 @@ | |||
|
|||
# "Patatrack" sequence running on GPU (or CPU if not available) | |||
from Configuration.ProcessModifiers.gpu_cff import gpu | |||
(pixelNtupletFit & gpu).toModify(pixelTracksCPU, | |||
(pixelNtupletFit & gpu).toModify(pixelTracksSoA.cpu, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pixelTracksCPU
appeared to be used only in this file, and this customization and the run3_common.toModify(pixelTracksSoA.cpu,
on line 109/106 appeared to assume the pixelTracksCPU
and pixelTracksSoA.cpu
point to the same module object.
assign heterogeneous |
enable gpu |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37562/29294
|
assign hlt |
New categories assigned: hlt @missirol,@Martin-Grunewald you have been requested to review this Pull request/Issue and eventually sign? Thanks |
+hlt
|
not sure why, as this is purely an offline reconstruction configuration ? |
maybe I was confused, but I had the impression this runs at HLT / affects HLT. apologies if I was mistaken! |
+reconstruction
|
Ah... @jpata no, the HLT configuration is fully contained in the |
@makortel what did the previous version do ? |
I think that they would lead to two modules being instantiated in the C++ side (except as things are In the python side, it would be some mixture of one and two modules
|
Thanks for the summary and explanation ! |
+heterogeneous |
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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
While developing #36938 further (what is now in #37563), I came across this one case where a case-EDProducer of a
SwitchProducer
was duplicated between the python module (PixelTracks_cff
) andSwitchProducerCUDA
(pixelTracksSoA
) instead of cloning the module. With my developments the duplication lead to failures in python.This PR clones the module when adding it inThis PR moves the definition of what wasSwitchProducerCUDA
.pixelTracksCPU
module inside the definition ofpixelTracksSoA
SwitchProducerCUDA
.PR validation:
The
PixelTracks_cff
file passes python with my developments.