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

[FEA] Statically link all CUDA toolkit libraries #797

Merged
merged 3 commits into from
Sep 8, 2022

Conversation

trxcllnt
Copy link
Collaborator

@trxcllnt trxcllnt commented Sep 1, 2022

This PR ensures RAFT statically links all the CUDA toolkit libraries (not just cudart) if a user enables CUDA_STATIC_RUNTIME.

@trxcllnt trxcllnt requested a review from a team as a code owner September 1, 2022 19:40
@trxcllnt trxcllnt added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 1, 2022
@@ -66,7 +68,22 @@ function(find_and_configure_faiss)
rapids_export_find_package_root(BUILD faiss [=[${CMAKE_CURRENT_LIST_DIR}]=] raft-nn-lib-exports)
endfunction()

if(NOT RAFT_FAISS_GIT_TAG)
# TODO: Remove this once faiss supports FAISS_USE_CUDA_TOOLKIT_STATIC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the plan to wait for this before we merge this PR? Or should we create a RAFT issue just to make sure it stays on our radar?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cjnolet it's up to you -- I based this branch from the commit sha here. If pointing at my fork is fine with you, then great. Otherwise, it might be worth forking faiss into rapidsai and cherry-picking my commit.

@cjnolet
Copy link
Member

cjnolet commented Sep 8, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 6f67dd0 into rapidsai:branch-22.10 Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants