Skip to content

Include thrust::pair headers - #20708

Merged
rapids-bot[bot] merged 2 commits into
NVIDIA:mainfrom
bdice:thrust-pair-includes
Nov 22, 2025
Merged

Include thrust::pair headers#20708
rapids-bot[bot] merged 2 commits into
NVIDIA:mainfrom
bdice:thrust-pair-includes

Conversation

@bdice

@bdice bdice commented Nov 22, 2025

Copy link
Copy Markdown
Contributor

Description

We need to include <thrust/pair.h> wherever thrust::pair<T> is used. This is needed to eliminate some errors with CCCL 3.2.

Checklist

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

@bdice
bdice requested a review from a team as a code owner November 22, 2025 00:43
@bdice
bdice requested review from devavret and nvdbaranec November 22, 2025 00:43
@github-actions github-actions Bot added the libcudf Affects libcudf (C++/CUDA) code. label Nov 22, 2025
@bdice bdice added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 22, 2025
@davidwendt

Copy link
Copy Markdown
Contributor

Should we move to cuda::std::pair instead?

@bdice

bdice commented Nov 22, 2025

Copy link
Copy Markdown
Contributor Author

@davidwendt Yes, we do want that soon-ish. In the immediate term I want to eliminate as many hard errors as I can with minimal potential downsides, because the CCCL 3.2 build logs are unintelligible right now with so many errors. Having these headers is a starting point for the larger refactor to non-deprecated types.

@bdice

bdice commented Nov 22, 2025

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit 338d8d7 into NVIDIA:main Nov 22, 2025
269 of 271 checks passed
TomAugspurger pushed a commit to TomAugspurger/pygdf that referenced this pull request Nov 26, 2025
We need to include `<thrust/pair.h>` wherever `thrust::pair<T>` is used. This is needed to eliminate some errors with CCCL 3.2.

Authors:
  - Bradley Dice (https://github.com/bdice)
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Nghia Truong (https://github.com/ttnghia)
  - David Wendt (https://github.com/davidwendt)

URL: NVIDIA#20708
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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants