Fix partial any/all reduction#959
Conversation
e777e9e to
749864b
Compare
|
/build |
|
Looks good! Did you happen to reproduce the original bug? |
5533afc to
749864b
Compare
|
Yes, it occurs when you do a partial reduction of a tensor rank greater than 2 (basically when CUB isn't used). |
25ab8bc to
59412bc
Compare
Since this code hasn't been touched in a while, is there a reason we can't use CUB in that case? We used to not use CUB in that situation before we had operators as input into CUB, now using |
|
ah, I thought CUB required contiguous segments. Let me see if I can figure it out. |
|
Okay, it took me a bit to figure out how it all worked, but my reading of it is that we can now use CUB for all reductions. |
|
Okay, I've deleted all the non-CUB reduction code. |
|
/build |
|
Looks like docs are failing: |
|
Ah, I see what happened. So it turns out there are two different
I can either remove 2 completely, or simply make it fall back on calling the operator? |
Let's remove it from the docs and only have the operator |
|
/build |
Fixes #931.