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
Redesign all GPU workflows to detect if a GPU is present, and fall back to CPU otherwise (11.3.x) #33519
Conversation
A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_11_3_X. It involves the following packages: CalibTracker/Configuration @andrius-k, @chayanit, @wajidalikhan, @kpedro88, @tlampen, @pohsun, @perrotta, @yuanchao, @silviodonato, @ErnestaP, @ahmad3213, @cmsbuild, @davidlange6, @jfernan2, @slava77, @jpata, @qliphy, @fabiocos, @francescobrivio, @malbouis, @jordan-martins, @kmaeshima, @christopheralanwest, @franzoni, @srimanob, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
backport #33428 |
please test |
-1 Failed Tests: RelVals RelVals
|
… CPU otherwise EcalRawToDigi: do not declare to produce the collections that will not be put in the event. EcalCPUDigisProducer: add more dummy collections.
24fa417
to
baf6597
Compare
Yes - local tests and grid tests, too. |
yes, we will build a new release rather soon also for the MWGR |
+1 |
+1 |
+1 |
ping @cms-sw/alca-l2 |
+1 |
+operations |
This pull request is fully signed and it will be integrated in one of the next CMSSW_11_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_0_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Redesign the GPU workflows:
###.501
) and GPU (###.502
) workflows should now be as close as possible;SwitchProducerCUDA
mechanism to detect if a GPU is available and offload a module or task to the GPU; if not, they automatically fall back to the equivalent CPU modules and tasks;pixelNtupletFit
) instead of a customisation, in line with the other workflows;Some changes to the relevant EDProducers have made the definition of the workflows easier:
Some other general changes and code clean up:
clone()
a module used in aSwitchProducerCUDA
gpuVertexFinder
kernels from gpuVertexFinderImpl.h to gpuVertexFinder.ccPR validation:
The GPU workflows (e.g.
###.502
) now work also without a GPU:If this PR is a backport please specify the original PR and why you need to backport that PR:
This PR is a backport of #33428 to CMSSW_11_3_X (they are cut from the same branch).