-
Notifications
You must be signed in to change notification settings - Fork 78
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 GCC 13 in CUDA 12 conda builds. #567
Use GCC 13 in CUDA 12 conda builds. #567
Conversation
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
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.
Approving the packaging changes, assuming the fix for this build issue will be small and/or reviewed by C++ codeowners:
/opt/conda/conda-bld/work/cpp/src/neighbors/detail/dynamic_batching.cuh: In constructor 'constexpr cuvs::neighbors::dynamic_batching::detail::batch_token::batch_token(uint32_t)':
/opt/conda/conda-bld/work/cpp/src/neighbors/detail/dynamic_batching.cuh:242:62: error: call to non-'constexpr' function 'uint32_t& cuvs::neighbors::dynamic_batching::detail::batch_token::id()' [-Werror=invalid-constexpr]
242 | explicit constexpr inline batch_token(uint32_t buffer_id) { id() = buffer_id; }
| ~~~~~~~~^~
/opt/conda/conda-bld/work/cpp/src/neighbors/detail/dynamic_batching.cuh:258:1: note: 'uint32_t& cuvs::neighbors::dynamic_batching::detail::batch_token::id()' declared here
258 | RAFT_INLINE_FUNCTION auto id() noexcept -> uint32_t&
| ^
Thanks, here's the fix #582 |
std::shared_ptr<KVP[]> exp_h(new KVP[size]); | ||
std::shared_ptr<KVP[]> act_h(new KVP[size]); |
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.
This is needed so that new[]
matches with delete[]
. Without this, the deleter uses delete
instead of delete[]
and compilation fails.
/merge |
I'm okay admin merging this |
Thanks all! 🙏 |
Description
conda-forge is using GCC 13 for CUDA 12 builds. This PR updates CUDA 12 conda builds to use GCC 13, for alignment.
These PRs should be merged in a specific order, see rapidsai/build-planning#129 for details.
Closes rapidsai/build-planning#129.