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

[C++] ArrowCUDA erroneously links to CUDA Runtime while only using CUDA Driver API #18603

Closed
asfimport opened this issue Apr 8, 2021 · 1 comment

Comments

@asfimport
Copy link
Collaborator

As far as I can tell the Arrow GPU code only uses the CUDA driver API, but the CMake links it to the CUDA Runtime: https://github.com/apache/arrow/blob/apache-arrow-3.0.0/cpp/src/arrow/gpu/CMakeLists.txt#L39 (${CUDA_LIBRARIES} is defined via the CMake FindCUDA module here: https://cmake.org/cmake/help/latest/module/FindCUDA.html#result-variables)

By default the static library for the CUDA Runtime will be used and things will get statically linked inside of the Arrow GPU library unnecessarily. Additionally, this can cause issues related to CUDA initialization as shown here: rapidsai/cudf#7600

Reporter: Keith Kraus / @kkraus14
Assignee: Prem Sagar Gali / @galipremsagar

PRs and other links:

Note: This issue was originally created as ARROW-12300. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Kouhei Sutou / @kou:
Issue resolved by pull request 9951
#9951

@asfimport asfimport added this to the 4.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant