Skip to content

New tuning API for DeviceUniqueByKey - #8421

Merged
bernhardmgruber merged 9 commits into
NVIDIA:mainfrom
griwes:feature/new-tuning-api/unique-by-key
Apr 21, 2026
Merged

bernhardmgruber merged 9 commits into
NVIDIA:mainfrom
griwes:feature/new-tuning-api/unique-by-key

Conversation

@griwes

@griwes griwes commented Apr 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Implements the new, improved, tuning API for UniqueByKey.

Resolves #7647.
Resolves #7479.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@griwes
griwes requested review from a team as code owners April 14, 2026 21:26
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Apr 14, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Apr 14, 2026
@griwes

griwes commented Apr 14, 2026

Copy link
Copy Markdown
Contributor Author

SASS verification pending, posted already primarily for the purpose of CI runs.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@griwes
griwes requested a review from a team as a code owner April 16, 2026 00:52
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment on lines +876 to +894
if (arch >= ::cuda::arch_id::sm_100)
{
if (primitive_key)
{
if (primitive_value)
{
switch (key_size)
{
case 1:
switch (value_size)
{
case 1:
// ipt_12.tpb_512.trp_0.ld_0.ns_948.dcid_5.l2w_955 1.121279 1.000000 1.114566 1.43765
return {512,
12,
BLOCK_LOAD_DIRECT,
LOAD_DEFAULT,
BLOCK_SCAN_WARP_SCANS,
delay_constructor_policy_from_type<exponential_backon_jitter_window_constructor_t<948, 955>>};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D :D :D :D

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think :D :D :D :D :D :D is more appropriate, given the number of opening braces in that hunk :P

Comment thread cub/cub/device/device_select.cuh Resolved
@griwes

griwes commented Apr 20, 2026

Copy link
Copy Markdown
Contributor Author

SASS comparison is showing no diffs.

@github-actions

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 1h 36m: Pass: 100%/275 | Total: 9d 10h | Max: 1h 35m | Hits: 68%/178626

See results here.

@bernhardmgruber
bernhardmgruber merged commit 4b144a6 into NVIDIA:main Apr 21, 2026
294 checks passed
@griwes
griwes deleted the feature/new-tuning-api/unique-by-key branch April 22, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Implement the new tuning API for DispatchUniqueByKey Refactor cccl.c unique_by_key to new tuning API

2 participants