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
Autodetect if a GPU can be used with CMSSW (11.3.x) #33562
Conversation
A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_11_3_X. It involves the following packages: HeterogeneousCore/CUDAServices @makortel, @cmsbuild, @fwyzard can you please review it and eventually sign? Thanks. cms-bot commands are listed here
|
1dfe3d2
to
cc325b9
Compare
enable gpu |
please test |
backport #33561 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-499295/14662/summary.html GPU Comparison SummarySummary:
Comparison SummarySummary:
|
+1 |
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:
Autodetect if a GPU can be used with CMSSW.
A GPU is deemed usable if
cudaGetDeviceCount()
;cudaSetDevice()
;The last point in particular ensures that CMSSW has been built to support the GPUs "compute capability" (e.g. 7.0 for a Tesla v100, etc.).
cudaComputeCapabilities
now prints(unsupported)
after a GPU name if it cannot be used by CMSSW.PR validation:
With a version of CMSSW built to support only compute capability 7.5:
After hiding the usable GPU:
After hiding the unusable GPU:
After hiding all GPUs (or on a machine without GPUs):
If this PR is a backport please specify the original PR and why you need to backport that PR:
Backport of #33561