Skip to content

Migrate thrust iterators to cuda::std iterators#797

Merged
PointKernel merged 3 commits intoNVIDIA:devfrom
PointKernel:cuda-std-iter
Mar 12, 2026
Merged

Migrate thrust iterators to cuda::std iterators#797
PointKernel merged 3 commits intoNVIDIA:devfrom
PointKernel:cuda-std-iter

Conversation

@PointKernel
Copy link
Copy Markdown
Member

This PR migrates thrust fancy iterators to cuda::std iterators, as the latter provide a more modern and standardized design.

@PointKernel PointKernel added the type: improvement Improvement / enhancement to an existing function label Feb 20, 2026
@PointKernel PointKernel merged commit f517bbb into NVIDIA:dev Mar 12, 2026
29 checks passed
@PointKernel PointKernel deleted the cuda-std-iter branch March 12, 2026 18:52
rapids-bot Bot pushed a commit to rapidsai/cudf that referenced this pull request Apr 1, 2026
This PR replaces remaining `thrust::counting_iterator` and `thrust::make_counting_iterator` usage with `cuda::counting_iterator` across cudf, including C++ tests/benchmarks and Java native CUDA sources. This also updates the corresponding iterator includes to use cuda headers and normalizes construction style to brace-init with CTAD where appropriate.

Similar to NVIDIA/cuCollections#797

Authors:
  - Yunsong Wang (https://github.com/PointKernel)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Vukasin Milovanovic (https://github.com/vuule)
  - Nghia Truong (https://github.com/ttnghia)
  - David Wendt (https://github.com/davidwendt)

URL: #21718
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: improvement Improvement / enhancement to an existing function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants