New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP]ENH: Convert loop unary fp rint into highway #26346
base: main
Are you sure you want to change the base?
Conversation
Hi @luyahan, Have you measured if this changes/increases performance? Would be good to see some benchmarks 😸 Just a process point, I assume google/highway#2116 needs to be released before this can be merged? |
c0e7346
to
86eddd1
Compare
|
Yes, google/highway#2116 has been merged.😁 |
LoadU/StoreU maybe key reason for performance degradation. |
121 tests fail https://dev.azure.com/numpy/numpy/_build/results?buildId=36327&view=logs&j=bb985aa7-6f2e-5862-34d1-fe760a3f4424&t=fedaa2b4-fa4d-5ee0-669f-9fb1714eeeb2 Have you looked into these yet? |
namespace hn = hwy::HWY_NAMESPACE; | ||
|
||
// Alternative to per-function HWY_ATTR: see HWY_BEFORE_NAMESPACE | ||
#define SUPER(NAME, FUNC, IS_RECIP) \ |
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.
Please refrain from using macro's for functions this large. They are hard to read and will be a pain to debug. Could we make use of templates here?
refer #24384, #24385