-
Notifications
You must be signed in to change notification settings - Fork 376
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
VMulCAddC-Replaced yaml files with header table #7411
base: master
Are you sure you want to change the base?
VMulCAddC-Replaced yaml files with header table #7411
Conversation
8bfc637
to
47192e6
Compare
src/f16-vmulcaddc/f16-vmulcaddc.h
Outdated
|
||
#ifndef XNN_UKERNEL | ||
#define XNN_UKERNEL(arch_flags, ukernel, row_tile,channel_tile, datatype) \ | ||
XNN_UKERNEL_WITH_PARAMS(arch_flags, ukernel,row_tile,channel_tile , datatype, void, /*init_params=*/nullptr) |
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.
Commas should immediately follow prior value, and then space after comma:
XNN_UKERNEL_WITH_PARAMS(arch_flags, ukernel,row_tile, channel_tile, datatype, void, /*init_params=*/nullptr)
Please fix other instances in this file too (many above and below).
9669c60
to
d8dd82d
Compare
tools/generate-vmulcaddc-test.py
Outdated
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.
Same comments as the other PRs
d29eeb2
to
c799529
Compare
ac65c37
to
cf7f1c3
Compare
1f6456a
to
757569f
Compare
-- 47192e6 by nithesh <[email protected]>: VMulCAddC-Replaced yaml files with header table Replaced yaml files with header table for vmulcadd op -- d8dd82d by nithesh <[email protected]>: Addressed review comments -- cf7f1c3 by nithesh <[email protected]>: Addressed review comments FUTURE_COPYBARA_INTEGRATE_REVIEW=#7411 from nitheshsrikanth-mcw:xnn_vmulcadd 1f6456a PiperOrigin-RevId: 695565047
-- 47192e6 by nithesh <[email protected]>: VMulCAddC-Replaced yaml files with header table Replaced yaml files with header table for vmulcadd op -- d8dd82d by nithesh <[email protected]>: Addressed review comments -- cf7f1c3 by nithesh <[email protected]>: Addressed review comments FUTURE_COPYBARA_INTEGRATE_REVIEW=#7411 from nitheshsrikanth-mcw:xnn_vmulcadd 1f6456a PiperOrigin-RevId: 695565047
-- 47192e6 by nithesh <[email protected]>: VMulCAddC-Replaced yaml files with header table Replaced yaml files with header table for vmulcadd op -- d8dd82d by nithesh <[email protected]>: Addressed review comments -- cf7f1c3 by nithesh <[email protected]>: Addressed review comments FUTURE_COPYBARA_INTEGRATE_REVIEW=#7411 from nitheshsrikanth-mcw:xnn_vmulcadd 1f6456a PiperOrigin-RevId: 695565047
Update kernel declarations? |
@dsharlet Thank you for your comment. I did attempt to update the kernel declarations as suggested, but I encountered an issue during the process that I wasn't able to resolve today. I will revisit the task tomorrow and work on resolving it then. |
Replaced yaml files with header table for vmulcadd op
c06ce2e
to
a68dfeb
Compare
24e9a1d
to
6897480
Compare
6897480
to
5021e63
Compare
@dsharlet i have updated the kernel declarations. Thanks! |
#define XNN_TEST_VMULCADDC_ROW_DIV(ukernel, arch_flags, row_tile, channels_tile, datatype, params_type, init_params) \ | ||
TEST(ukernel, ROW_div) \ | ||
{ \ | ||
for (size_t rows = row_tile * 2; rows <= row_tile * 4; rows += row_tile) { \ |
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.
TEST_REQUIRES_ARCH_FLAGS(arch_flags)
? Does this pass tests locally for you?
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.
Thanks for pointing out the missing TEST_REQUIRES_ARCH_FLAGS(arch_flags). The issue with the illegal instruction for AVX-512 has now been resolved and now the tests are passing.
32a9c6c
to
e3de96d
Compare
XNN_INTERNAL void fn_name( \ | ||
size_t m, \ | ||
size_t c, \ | ||
const xnn_float16* x, \ | ||
const xnn_float16* x, \ |
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.
We should be able to use datatype
here, and #include
both headers with the one XNN_UKERNEL
definition.
No description provided.