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

Replace FindcuFile with upstream FindCUDAToolkit support #17298

Merged

Conversation

KyleFromNVIDIA
Copy link
Contributor

Description

CMake's FindCUDAToolkit has supported cuFile since 3.25. Use this support and remove the custom FindcuFile module.

Checklist

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

CMake's FindCUDAToolkit has supported cuFile since 3.25. Use this
support and remove the custom FindcuFile module.
@KyleFromNVIDIA KyleFromNVIDIA added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 12, 2024
@KyleFromNVIDIA KyleFromNVIDIA requested a review from a team as a code owner November 12, 2024 16:13
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Nov 12, 2024
cpp/CMakeLists.txt Outdated Show resolved Hide resolved
@KyleFromNVIDIA KyleFromNVIDIA requested a review from a team as a code owner November 12, 2024 20:16
Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

Approving C++ changes now.

@KyleFromNVIDIA
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 6acd33d into rapidsai:branch-24.12 Nov 13, 2024
102 checks passed
KyleFromNVIDIA added a commit to KyleFromNVIDIA/cudf that referenced this pull request Nov 13, 2024
The reference in JNI was missed in rapidsai#17298. Replace it with
FindCUDAToolkit.
rapids-bot bot pushed a commit that referenced this pull request Nov 15, 2024
The reference in JNI was missed in #17298. Replace it with `FindCUDAToolkit`.

Also backport `FindCUDAToolkit` from CMake 3.31 to get https://gitlab.kitware.com/cmake/cmake/-/commit/b38a8e77cb3c8401b3022a68f07a4fd77b290524.

Also add an option to statically link `cuFile`.

Authors:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Nghia Truong (https://github.com/ttnghia)
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Gera Shegalov (https://github.com/gerashegalov)

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

Successfully merging this pull request may close these issues.

6 participants