Skip to content

cub::DevicePartition env-overloads using unsigned offset type while non-env overloads use signed one #8968

Closed

Description

@bernhardmgruber

When code rabbit was reviewing #8925, it suggested to reintroduce a ChooseOffsetT::is_exceeding_offset_type check that the non-env overloads perform. That didn't make any sense to me since all env overloads used an unsigned offset type.

Upon closer inspection I noticed that #7459 introduced the env-overloads using an unsigned offset type, while the non-env overloads used a signed offset type including the above check. I believe this was an error and the env-overloads should have also used a signed offset type.

Activity

  1. moved this from Todo to In Progress in CCCLon May 13, 2026
  2. moved this from In Progress to In Review in CCCLon May 13, 2026
  3. added a commit that references this issue on May 13, 2026
    e15d87a
  4. added a commit that references this issue on May 21, 2026
    7deb186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions