-
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
Autodetect if a GPU can be used with CMSSW #33561
Conversation
enable gpu |
1dfe3d2
to
cc325b9
Compare
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33561/22347
|
A new Pull Request was created by @fwyzard (Andrea Bocci) for master. It involves the following packages: HeterogeneousCore/CUDAServices @makortel, @fwyzard can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d26ea3/14664/summary.html GPU Comparison SummarySummary:
Comparison SummarySummary:
|
+1 Significant improvement for Comparison differences are in MessageLogger and non-repeatibility in one histogram in EgammaV (#33554). |
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. @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):