-
Notifications
You must be signed in to change notification settings - Fork 915
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
Load libcufile.so with RTLD_NODELETE flag #9872
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #9872 +/- ##
================================================
- Coverage 10.49% 10.42% -0.07%
================================================
Files 119 119
Lines 20305 20469 +164
================================================
+ Hits 2130 2134 +4
- Misses 18175 18335 +160
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Minor question.
@gpucibot merge |
Workaround for a known cuFile issue that can lead to segfault if cuFile library is dynamically unloaded.
Using
RTLD_NODELETE
when callingdlopen
so that the library is not unloaded indlclose
.Also adds a check for the result of dlopen, to help triage cuFile use issues.