Source

Branch

1/ @Karyuutensei

@AgileJebrim

Nvidia has good resources on this https://developer.download.nvidia.com/assets/cuda/files/reduction.pdf

2/ @AgileJebrim

@Karyuutensei

Yeah I’ve seen this before. They just waste time describing 6 shitty complex approaches before bothering to discuss the simplest and fastest approach lol.

3/ @Karyuutensei

@AgileJebrim

I actually find it quite educative.