Uh oh!
There was an error while loading. Please reload this page.
ARROW-12685: [C++][Compute] Add unary absolute value kernel - #10274
ARROW-12685: [C++][Compute] Add unary absolute value kernel#10274edponce wants to merge 3 commits into
Conversation
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename pull request title in the following format? or See also: |
I named the compute function as |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@cyb70289 I noticed that clang removes the check of |
Thanks @edponce for deep investigation. From std::abs() document, it is UB if input is
For checked abs, you can check |
For such a simple kernel we found:
becomes
|
03f6f1e to
f8d6956CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cyb70289
commented
May 14, 2021
Also, would you rebase to fix some CI failures? #10310 |
780c6a0 to
4294ba5Comparecyb70289
commented
May 17, 2021
@pitrou, do you have other comments to this PR? |
This PR adds the arithmetic absolute value kernels to the compute layer.