You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose unrolling control in cub::DeviceMergeSort to tuning #9052
The algorithms in cub::DeviceMergeSort use unrolled loop in several places in the implementation. Some users (it's RAPIDs) need to disable unrolling though, because their comparison operators are complex and unrolling results in large binaries. This is what the switch CCCL_AVOID_SORT_UNROLL is for.
Ideally, unrolling should just be controlled via the tuning policy, so users have a standard API interface for it.
We should add an unroll flag to the tuning policy of cub::DeviceMergeSort that replaces the functionality of CCCL_AVOID_SORT_UNROLL.
changed the title [-]Expose controlling unrolling in `cub::DeviceMergeSort` to tuning[/-][+]Expose unrolling control in `cub::DeviceMergeSort` to tuning[/+]on May 18, 2026
Activity
[-]Expose controlling unrolling in `cub::DeviceMergeSort` to tuning[/-][+]Expose unrolling control in `cub::DeviceMergeSort` to tuning[/+]Control unrolling in cub::DeviceMergeSort via tuning
Control unrolling in cub::DeviceMergeSort via tuning
Control unrolling in cub::DeviceMergeSort via tuning
Control unrolling in `cub::DeviceMerge[Sort]` via tuning (#9181)