Skip to content

Check for issues with -0 / +0 stable_sort issues #750

Open

Description

@alliepiper

PR NVIDIA/cub#218 fixes this CUB's radix sort. We should:

  • Check whether Thrust's other backends handle this case correctly.
  • Provide a guarantee of this in the stable_sort documentation.
  • Add regression tests to enforce this on all backends.

Activity

  1. added
    thrust
    on Feb 22, 2023
  2. transferred this issue fromNVIDIA/thruston Nov 8, 2023
  3. moved this to Todo in CCCLon Jan 17, 2026
  4. nageshnnazare commented on Jan 26, 2026

    @nageshnnazare

    I would like to work on this. Thanks!

  5. geekaman243 commented on Apr 5, 2026

    @geekaman243

    I would like to work on this.
    Thank you

  6. UnknownHacker1 commented on Oct 6, 2026

    @UnknownHacker1
    Contributor

    Hi, is anyone still working on this? I don't see a PR since the last comments. If not, I'd like to take it: check how the CPU backends (CPP, OMP, TBB) handle -0.0 and +0.0 in stable_sort, document the guarantee, and add regression tests for all backends. I recently added the stdpar stable_sort smoke test (#11882).

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

    good first issuethrust

    Type

    No type

    Projects

    • Status
      In Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions