You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEA]: Use P2322R6 to determine accumulator type in Thrust #153
Is your feature request related to a problem? Please describe.
We adopted P2322R6 scheme in CUB (NVIDIA/cub#428), but Thrust still uses accumulator types that are surprising to users and do not follow general C++ rules like integer promotion.
Describe the solution you'd like
We should decide if we'd like to proceed with P2322R6 adoption in Thrust and follow CUB scheme of selecting accumulator types.
Tasks
Decide if the silent change of accumulator type is breaking
Prepare a list of standard algorithms that specify accumulator types
Consider preparing a paper to adopt P2322R6 to standard algorithms
Activity
Fix overflowing in `intersection_intermediates.remove_if` (#1209)
fbusato commentedon Mar 10, 2025
I did a quick investigation to understand the current status.
First of all, the adopting of P2322 is considered a breaking change for the following reasons:
The following functionalities (all overloadings) need to update their behavior. (
X<N>: num overloadings)inclusive_scan/esxlusive_scanX12inner_productX3transform_reduceX2reduceX6