Skip to content

Support a custom comparison predicate in cub::DeviceReduce::ArgMin|Max. #6123

Closed

Description

@bernhardmgruber

This will be needede to port thrust/extrema.h (e.g. thrust::min_element) to cub::DeviceReduce.

This will require that we come up with a different way to reduce without initial element. The current initial element is determined using ::cuda::std::numeric_limits which only works for small set of types and only if the comparison predicate is <. This is only needed for empty problems (zero elements).

Activity

  1. added a commit that references this issue on Apr 2, 2026
    cf8053e
  2. moved this from Todo to In Progress in CCCLon Apr 2, 2026
  3. moved this from In Progress to In Review in CCCLon Apr 2, 2026
  4. added 2 commits that reference this issue on Apr 4, 2026
    2dedb0f
    4c7b610
  5. moved this from In Review to Done in CCCLon Apr 8, 2026
  6. added a commit that references this issue on Apr 8, 2026
    a003464
  7. added a commit that references this issue on Apr 8, 2026
    9f6ccb2
  8. added a commit that references this issue on Apr 19, 2026
    14c0f79
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
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions