Repository navigation
Replace detail::merge::dispatch by CUB's public API - #8381
Merged
Merged
Conversation
detail::merge::dispatch by CUB's public API
bernhardmgruber
force-pushed
the
use_tuning_merge
branch
from
April 10, 2026 21:46
a70107e to
b675d2c
Compare
bernhardmgruber
commented
Apr 10, 2026
Comment on lines
+78
to
+79
| template <typename DefaultPolicySelector, typename EnvT, typename AlgorithmCallable> | ||
| CUB_RUNTIME_FUNCTION static cudaError_t dispatch_with_env_and_tuning(EnvT env, AlgorithmCallable&& algorithm_callable) |
Contributor
Author
There was a problem hiding this comment.
I don't have a good name for this function yet, but I think it will at some point replace dispatch_with_env entirely. But this rollout will take time.
bernhardmgruber
commented
Apr 10, 2026
Comment on lines
-50
to
-61
| struct block_size_retreiver_t | ||
| { | ||
| int* ptr; | ||
|
|
||
| template <class ActivePolicyT> | ||
| cudaError_t Invoke() | ||
| { | ||
| *ptr = ActivePolicyT::SingleTilePolicy::BLOCK_THREADS; | ||
| return cudaSuccess; | ||
| } | ||
| }; | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Drive-by fix. This was unused.
This comment has been minimized.
This comment has been minimized.
miscco
reviewed
Apr 13, 2026
bernhardmgruber
force-pushed
the
use_tuning_merge
branch
from
April 13, 2026 20:26
b675d2c to
dc07962
Compare
This comment has been minimized.
This comment has been minimized.
NaderAlAwar
reviewed
Apr 14, 2026
This includes using the new tuning API internally where possible. Fixes: NVIDIA#7955
bernhardmgruber
force-pushed
the
use_tuning_merge
branch
from
April 14, 2026 22:54
dc07962 to
302826e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
NaderAlAwar
approved these changes
Apr 15, 2026
bernhardmgruber
commented
Apr 15, 2026
3 tasks done
Contributor
🥳 CI Workflow Results🟩 Finished in 3h 06m: Pass: 100%/329 | Total: 2d 18h | Max: 46m 11s | Hits: 99%/298268See results here. |
miscco
approved these changes
Apr 16, 2026
jainishmehta
pushed a commit
to jainishmehta/cccl
that referenced
this pull request
Apr 19, 2026
This includes using the new tuning API internally where possible. Fixes: NVIDIA#7955
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.
This PR does change the SASS of
cub.bench.merge.pairs.base(tested on SM120), but this is expected since we discard all 32-bit offset type benchmarks. Those are not needed, since the public API does not allow to compile a 32-bit kernel.This PR will also take away Thrust's ability to compile a 32-bit offset type kernel, which is not needed since the 64-bit offset type version is on par: #3530
Fixes: #7955