-
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
Configure scram
to disable one of the GPU bakends in a development area ?
#45859
Comments
assign core,heterogeneous |
New categories assigned: core,heterogeneous @Dr15Jones,@fwyzard,@makortel,@makortel,@smuzaffar you have been requested to review this Pull request/Issue and eventually sign? Thanks |
cms-bot internal usage |
A new Issue was created by @fwyzard. @Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
@fwyzard , yes we should be able to implement this via
we can also add If needed, we can discuss this in core sw meeting tomorrow |
Sounds good. |
About updating the flags in
|
@fwyzard , thanks for the hints in #45859 (comment).
|
I see. Maybe we could shorten the commands, like
etc? And it might be more clear if we split the backend and individual targets with a
(I would suggest using What do you think ? |
sounds good, so I will drop |
@fwyzard , for now I have |
Maybe |
But it affects only Alpaka modules, not other modules that may use the Then |
yes it only afftects the alpaka modules. OK so I will go with |
@fwyzard , |
I'm undecided, because then calls like |
So I'm leaning more towards Could you implement that, and later today we ask @makortel his opinion ? |
As |
What about |
currently |
But if we want |
OK, let me try to summarise:
Is it correct ? Basically, it would never affect whether the regular So I think I would prefer |
And, once #45844 is complete, we could revisit this
and try to disable the CUDA or ROCm backends completely. |
yes this is correct.
OK |
cms-sw/cmssw-config#110 should implement these new rules. |
I'd find it clearest if the |
The ROCm (and to some extend CUDA) alpaka backends add a noticeable amount to the time it takes to build some packages.
For users that do not care about running on (AMD) GPUs, we could speed up the compilation process disabling the ROCm (or CUDA) alpaka backend(s).
Also note that it could be much worse if we manage to add the SYCL/oneAPI backend...
This could be implemented in
scram
, with a syntax like?
An other way to speed up the compilation would be to target only one actual GPU type, like an NVIDIA T4 or an AMD Mi250.
This could be implemented with a syntax like
We could also get the hardware type from
cudaComputeCapabilities
orrocmComputeCapabilities
with a syntax like@smuzaffar do you think this could be implemented in scram ?
If you think so, we can discuss the implementation detail here or in person.
The text was updated successfully, but these errors were encountered: