-
Notifications
You must be signed in to change notification settings - Fork 463
Support reduction for more than 2^31 items #589
Support reduction for more than 2^31 items #589
Conversation
elstehle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1790296 to
6153c10
Compare
|
Because |
6153c10 to
5c64430
Compare
5c64430 to
8b9f0b0
Compare
|
Hi @senior-zero, glad to see this patch landed! Would it be backported to the 1.17.x branch? |
|
Hello @leofang! I completely forgot to reply about backporting this PR. Sorry about that! I wouldn't like to backport this. Is there something stopping you from using the newer version of CUB. Please let us know if we can help switch to a more recent version of CUB or fix potential issues. |
This PR partially addresses the following issue. Supporting larger offsets for
ArgMinandArgMaxwould have to wait, since it's a bit more involving. There also could be a bit better testing, but it might wait till Catch2 rewrite.The main purpose of this PR is to unblock original issue by providing an example of what we expect from such a change. The main direction of this modification can be found here.