Repository navigation
Add env based cub::DevicePartition and tests - #7459
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
gonidelis
commented
Feb 3, 2026
NaderAlAwar
reviewed
Feb 4, 2026
gonidelis
force-pushed
the
partition_env
branch
from
February 4, 2026 15:53
a9db3f0 to
2dd335e
Compare
NaderAlAwar
approved these changes
Feb 4, 2026
This comment has been minimized.
This comment has been minimized.
gonidelis
force-pushed
the
partition_env
branch
from
February 11, 2026 19:51
2dd335e to
ae41fa2
Compare
bernhardmgruber
approved these changes
Feb 11, 2026
Comment on lines
+374
to
+375
| return partition_impl<tuning_t, InputIteratorT, FlagIterator, OutputIteratorT, NumSelectedIteratorT, NullType, offset_t>( | ||
| storage, bytes, d_in, d_flags, d_out, d_num_selected_out, static_cast<offset_t>(num_items), NullType{}, stream); |
Contributor
There was a problem hiding this comment.
Suggestion: let the compiler do the work for you:
Suggested change
| return partition_impl<tuning_t, InputIteratorT, FlagIterator, OutputIteratorT, NumSelectedIteratorT, NullType, offset_t>( | |
| storage, bytes, d_in, d_flags, d_out, d_num_selected_out, static_cast<offset_t>(num_items), NullType{}, stream); | |
| return partition_impl<tuning_t>( | |
| storage, bytes, d_in, d_flags, d_out, d_num_selected_out, static_cast<offset_t>(num_items), NullType{}, stream); |
Comment on lines
+630
to
+632
| return partition_impl<tuning_t, InputIteratorT, NullType*, OutputIteratorT, NumSelectedIteratorT, SelectOp, offset_t>( | ||
| storage, bytes, d_in, nullptr, d_out, d_num_selected_out, static_cast<offset_t>(num_items), select_op, stream); | ||
| }); |
Contributor
There was a problem hiding this comment.
Suggested change
| return partition_impl<tuning_t, InputIteratorT, NullType*, OutputIteratorT, NumSelectedIteratorT, SelectOp, offset_t>( | |
| storage, bytes, d_in, nullptr, d_out, d_num_selected_out, static_cast<offset_t>(num_items), select_op, stream); | |
| }); | |
| return partition_impl<tuning_t>( | |
| storage, bytes, d_in, nullptr, d_out, d_num_selected_out, static_cast<offset_t>(num_items), select_op, stream); | |
| }); |
srinivasyadav18
approved these changes
Feb 11, 2026
This comment has been minimized.
This comment has been minimized.
Contributor
🥳 CI Workflow Results🟩 Finished in 5h 14m: Pass: 100%/99 | Total: 3d 04h | Max: 5h 14m | Hits: 96%/113302See results here. |
fbusato
pushed a commit
to fbusato/cccl
that referenced
this pull request
Feb 19, 2026
This was referenced May 13, 2026
davebayer
pushed a commit
that referenced
this pull request
May 13, 2026
wmaxey
pushed a commit
that referenced
this pull request
May 21, 2026
…8976) The env-overloads in cub::DevicePartition used unsigned offset types, while the non-env-overloads used signed ones. This was presumably an oversight in #7459. Fixes: #8968 (cherry picked from commit e15d87a) Co-authored-by: Bernhard Manfred Gruber <[email protected]>
2 tasks
1 task done
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.
fixes #7458