-
Notifications
You must be signed in to change notification settings - Fork 197
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
Remove code paths that depend on RMM_STATIC_CUDART #1667
base: branch-24.12
Are you sure you want to change the base?
Remove code paths that depend on RMM_STATIC_CUDART #1667
Conversation
Are existing tests sufficient to cover this? |
I will add explicit tests that control the type of cudart we are using to verify these chages |
326fd58
to
4866138
Compare
Did more testing today and realize that more work is needed. With this PR we are getting all the symbols required at link time, but the dlsym with Need more time to figure out what is going wrong. |
In what contexts is this failing? I assume it's a statically linked case, so the symbols cannot have been (dynamically) loaded with |
That is correct it is the static linking use case the is failing. The tests have the textual entries for the symbol, but the |
No longer needs RMM_STATIC_CUDART to be set for static cudart usages
91e325d
to
6dc3ee3
Compare
This introduces a bit of complexity that we may be able to avoid. RMM declares its minimum supported CUDA version is 11.4 (this has been true since November 2023). We have required a minimum of at least 11.2, usually 11.4, everywhere I can think of for a long time. I think we can remove the shims for CUDA < 11.2 in this PR. |
5f17e74
to
22d2b7f
Compare
Description
We can remove the optimizations around
CUDA_STATIC_RUNTIME
and instead see if the function is already in the process space so that RMM doesn't need to have any build context to run properlyFixes #1679
Checklist