-
Notifications
You must be signed in to change notification settings - Fork 14
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
Enable Alpaka backends based on the architecture #94
Conversation
Enable the Alpaka backends for CUDA and ROCm only on the architectures that support them: - CUDA is enabled on all architectures, as long as gcc is < 12 - ROCm is enabled only on x86
A new Pull Request was created by @fwyzard (Andrea Bocci) for branch scramv3. @cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks. |
What we should do is something like <flags ALPAKA_BACKENDS="serial"/>
<iftool name="cuda-gcc-support">
<flags ALPAKA_BACKENDS="cuda"/>
</iftool>
<iftool name="rocm">
<flags ALPAKA_BACKENDS="rocm"/>
</iftool> But that doesn't seem to work, so the changes in this PR currently implement the same effect, based on the architecture. |
please test with cms-sw/cmssw#40832 |
please test with cms-sw/cmssw#40832 for el8_ppc64le_gcc11 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9ab3d7/30906/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Expand to see more relval errors ...Comparison SummarySummary:
|
@fwyzard should not https://github.com/cms-sw/cmssw-config/blob/scramv3/SCRAM/Plugins/BuildRules.py#L1017-L1020 enough ? I think Self.xml can declare all backend |
Ah, I see... sure, that's enough. |
Enable the Alpaka backends for CUDA and ROCm only on the architectures that support them: