Repository navigation
Make cuda::zip_iterator work with proxy iterators - #7787
Merged
Merged
Conversation
davebayer
approved these changes
Feb 25, 2026
bernhardmgruber
approved these changes
Feb 25, 2026
This comment has been minimized.
This comment has been minimized.
We have a lot of proxy iterators that might be valid targets for zip_iterator However, those conventionally have `void` as their `reference` / `value_type` In that case, there is no `iter_value_t` available, so we need to deduce it differently Fixes NVIDIA#7783
miscco
force-pushed
the
fix_zip_iterator
branch
from
February 25, 2026 17:51
810b291 to
7d3cf92
Compare
miscco
commented
Feb 25, 2026
Comment on lines
-94
to
-95
| _CCCL_REQUIRES(::cuda::std::is_invocable_v<_Fn&, _Index, _Arg> _CCCL_AND( | ||
| !::cuda::std::is_same_v<::cuda::std::remove_cvref_t<_Arg>, __tabulate_proxy>)) |
Contributor
Author
There was a problem hiding this comment.
This constraint was breaking older NVCC, so I explicitly defaulted the SMF to avoid having to SFINAE it out
Contributor
🥳 CI Workflow Results🟩 Finished in 1h 54m: Pass: 100%/99 | Total: 1d 13h | Max: 1h 35m | Hits: 89%/252485See results here. |
Contributor
|
I'd like to propose this for a |
miscco
added a commit
to miscco/cccl
that referenced
this pull request
Feb 26, 2026
We have a lot of proxy iterators that might be valid targets for zip_iterator However, those conventionally have `void` as their `reference` / `value_type` In that case, there is no `iter_value_t` available, so we need to deduce it differently Fixes NVIDIA#7783
wmaxey
added a commit
that referenced
this pull request
Feb 27, 2026
* Overload standard iterator functions for `cuda` iterators (#7738) * Overload standard iterator functions for `cuda::counting_iterator` * Overload standard iterator functions for `cuda::zip_iterator` * Overload standard iterator functions for `cuda::zip_transform_iterator` * Overload standard iterator functions for `cuda::transform_iterator` * Overload standard iterator functions for `cuda::transform_output_iterator` * Overload standard iterator functions for `cuda::transform_input_output_iterator` * Make `cuda::zip_iterator` work with proxy iterators (#7787) We have a lot of proxy iterators that might be valid targets for zip_iterator However, those conventionally have `void` as their `reference` / `value_type` In that case, there is no `iter_value_t` available, so we need to deduce it differently Fixes #7783 --------- Co-authored-by: Wesley Maxey <[email protected]>
4 of 7 tasks
rapids-bot Bot
pushed a commit
to rapidsai/rapids-cmake
that referenced
this pull request
Mar 25, 2026
This PR updates CCCL to 3.4.0 (latest on main). Comparison of CCCL commits: NVIDIA/cccl@09094af...33895cb Notable PRs included: - NVIDIA/cccl#7787 - NVIDIA/cccl#7983 - NVIDIA/cccl#8152 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: #990
robertmaynard
pushed a commit
to robertmaynard/rapids-cmake
that referenced
this pull request
Mar 25, 2026
This PR updates CCCL to 3.4.0 (latest on main). Comparison of CCCL commits: NVIDIA/cccl@09094af...33895cb Notable PRs included: - NVIDIA/cccl#7787 - NVIDIA/cccl#7983 - NVIDIA/cccl#8152 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: rapidsai#990
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We have a lot of proxy iterators that might be valid targets for zip_iterator
However, those conventionally have
voidas theirreference/value_typeIn that case, there is no
iter_value_tavailable, so we need to deduce it differentlyFixes #7783