Skip to content

Conversation

@bernhardmgruber
Copy link
Contributor

@bernhardmgruber bernhardmgruber commented Nov 24, 2025

WIP

  • cub.test.device.radix_sort_keys.lid_0.key_bits_16 passes
  • CCCL.C tests pass
  • Retain the if constexpr on the onesweep algorithm in the dispatcher
  • implement policy_selector_from_hub
  • Drop _policy
  • Merge before: Rename new tuning API policies and fix MSVC warning #7103
  • SASS tests
  • tests for supplying a custom policy hub

Fixes: #6676

@github-project-automation github-project-automation bot moved this to Todo in CCCL Nov 24, 2025
@bernhardmgruber bernhardmgruber changed the title Implement the new tuning API for DeviceRadixSort Implement the new tuning API for DeviceRadixSort Nov 24, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Progress in CCCL Nov 24, 2025
Copy link
Contributor

@miscco miscco left a comment

Choose a reason for hiding this comment

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

I love how much this cleans everything up

Comment on lines +134 to +176
_CCCL_API constexpr friend bool
operator!=(const radix_sort_histogram_policy& lhs, const radix_sort_histogram_policy& rhs)
{
return !(lhs == rhs);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: We could guard all operator!= on #if _CCCL_STD_VER <= 2017

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Or we just wait until C++20 and refactor.

@bernhardmgruber
Copy link
Contributor Author

/ok to test 56c437d

@github-actions

This comment has been minimized.

@bernhardmgruber bernhardmgruber force-pushed the tuning_radix_sort branch 3 times, most recently from 8ad87dc to 800b936 Compare January 11, 2026 19:03
@bernhardmgruber
Copy link
Contributor Author

/ok to test 800b936

@github-actions

This comment has been minimized.

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Jan 12, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@bernhardmgruber
Copy link
Contributor Author

/ok to test 7e722a2

@github-actions

This comment has been minimized.

@bernhardmgruber
Copy link
Contributor Author

/ok to test 6cefe64

@bernhardmgruber
Copy link
Contributor Author

/ok to test 74089a2

@github-actions
Copy link
Contributor

😬 CI Workflow Results

🟥 Finished in 2h 21m: Pass: 66%/93 | Total: 1d 18h | Max: 1h 27m | Hits: 92%/74580

See results here.

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

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Implement a MVP for cub::DeviceRadixSort using the new tuning API

2 participants