Skip to content

[FEA]: Add LRB segmented-sort kernels using the runtime-width group merge primitive #10946

Open
6 of 7 issues completed

Description

@anikaj-eng

Is this a duplicate?

Area

CUB

Is your feature request related to a problem? Please describe.

Fine-grained segmented sort needs kernels for sub-warp/warp, small-block, and large-block work-plan tiers. These kernels have similar bodies and use the same runtime-width group merge-sort primitive, but require different execution and resource configurations.

Describe the solution you'd like

Track the three tier-specific kernels:

Each kernel should consume its work-plan tier and invoke the runtime-width group merge-sort primitive tracked in #10944.

This issue can be closed once optimized segmented sort algorithms can be tested and benchmarked but not reachable by user.
cub::detail::lrb_based_segmented_sort

Describe alternatives you've considered

A single kernel for all tiers was considered, but the tiers require different execution and resource configurations.

Additional context

Activity

  1. anikaj-eng commented on Aug 21, 2026

    @anikaj-eng
    ContributorAuthor

    cc: @kaatish, can I request you to add a timeline for this too? thanks

  2. changed the title [-][FEA]: Add specialized kernels for fine-grained segmented sort[/-] [+][FEA]: Add a shared runtime-width kernel path for fine-grained segmented sort[/+] on Aug 24, 2026
  3. changed the title [-][FEA]: Add a shared runtime-width kernel path for fine-grained segmented sort[/-] [+][FEA]: Add tier-specific segmented-sort kernels using the runtime-width group merge primitive[/+] on Aug 24, 2026
  4. changed the title [-][FEA]: Add tier-specific segmented-sort kernels using the runtime-width group merge primitive[/-] [+][FEA]: Add LRB segmented-sort kernels using the runtime-width group merge primitive[/+] on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions