Skip to content
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

Use canonicalized name for dlopen'd libraries (libcufile) #13210

Merged
merged 4 commits into from
Apr 26, 2023

Conversation

shwina
Copy link
Contributor

@shwina shwina commented Apr 24, 2023

Description

Closes #12708

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Apr 24, 2023
@wence-
Copy link
Contributor

wence- commented Apr 25, 2023

There's discussion going on here rapidsai/kvikio#203 about what the correct set of names is (some 11.5 deb packages don't ship the .0-versioned so it seems).

@bdice
Copy link
Contributor

bdice commented Apr 25, 2023

Right. After we settle on names for kvikio, let's copy that decision to this and other related PRs.

@jakirkham
Copy link
Member

Do we want to use KvikIO's load_library to iterate through the different library names here as is being done KvikIO?

@wence-
Copy link
Contributor

wence- commented Apr 26, 2023

Do we want to use KvikIO's load_library to iterate through the different library names here as is being done KvikIO?

libcudf can be built with cufile support but without kvikio support, so I don't think we can do this.

@shwina shwina added tech debt non-breaking Non-breaking change labels Apr 26, 2023
@wence- wence- added the improvement Improvement / enhancement to an existing function label Apr 26, 2023
@wence- wence- marked this pull request as ready for review April 26, 2023 15:48
@wence- wence- requested a review from a team as a code owner April 26, 2023 15:48
@wence- wence- requested review from divyegala and vuule April 26, 2023 15:48
@bdice
Copy link
Contributor

bdice commented Apr 26, 2023

/merge

@rapids-bot rapids-bot bot merged commit 89c4b7b into rapidsai:branch-23.06 Apr 26, 2023
43 checks passed
rapids-bot bot pushed a commit to rapidsai/cucim that referenced this pull request Apr 27, 2023
Fixes the `dlopen` logic around `libcufile` to load either the SOVERSION library or the fully versioned library. This includes logic to handle the missing SOVERSION library on older CUDA versions. Drops loading the stub library, which typically only shows up in development environments.

<hr>

Fixes #504

Borrows from PR ( rapidsai/cudf#13210 ) and PR ( rapidsai/kvikio#203 ). Also adapts this logic to cuCIM ( rapidsai/kvikio#141 )

Authors:
  - https://github.com/jakirkham
  - Gregory Lee (https://github.com/grlee77)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Gregory Lee (https://github.com/grlee77)
  - Gigon Bae (https://github.com/gigony)

URL: #548
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

cuDF: Need to canonicalize dlopen'd library names
6 participants