NVIDIA / cccl

CUDA Core Compute Libraries
Other
976 stars 119 forks source link

[EPIC]: Reproducible floating-point reductions #1558

Open jrhemstad opened 3 months ago

jrhemstad commented 3 months ago

Is this a duplicate?

Area

CUB

Is your feature request related to a problem? Please describe.

I would like reproducible reductions for floating-point values.

Describe the solution you'd like

@maddyscientist has a proof-of-concept implementation here: https://github.com/maddyscientist/reproducible_floating_sums/tree/feature/cuda

MVP:

Future work:

Describe alternatives you've considered

No response

Additional context

No response

jrhemstad commented 3 months ago

This algorithm is discussed in @maddyscientist's GTC talk here: https://www.nvidia.com/gtc/session-catalog/?search=S62405&tab.allsessions=1700692987788001F1cG#/session/1696035956217001KKhw