[FEA]: Introduce new DeviceReduce::Arg{Min,Max}
interface with two output iterators
#3146
Open
1 task done
Labels
Is this a duplicate?
Area
CUB
Is your feature request related to a problem? Please describe.
The
cub::DeviceReduce::Arg{Min,Max}
interfaces currently return the (extremum, index)-tuple of the result as acub::KeyValuePair
. This interface has shortcomings that were discussed in #414 (comment) and in https://github.com/NVIDIA/cccl/pull/2647/files#r1824185104.Describe the solution you'd like
The following interface works around the referenced shortcomings and provides users with a more flexible and convenient interface, allowing to mix-and-match arbitrary output iterator combinations to which the index and extremum are written:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: