-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Add marray support to rest math built-in functions #8912
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
[SYCL] Add marray support to rest math built-in functions #8912
Conversation
This patch adds support of sycl::marray to the rest math built-in functions (SYCL 2020, Table 175), and adds missing tests for math and common functions for intel#8631 to reduce number of upcoming cherry-picks.
@sergey-semenov, ping. |
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 overall
|
||
#include <sycl/sycl.hpp> | ||
|
||
#define TEST(FUNC, MARRAY_ELEM_TYPE, DIM, EXPECTED, DELTA, ...) \ |
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.
Do we have to use a macro here? Seems like we can get away with a function template, which would be preferrable. The same goes for the other test file.
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.
I would suggest to implement this in a separate PR for all marray builtin tests, including these.
Debugging test failures
All failures are unrelated: Failed Tests (3): Jenkins/Precommit (created internal ticket) |
This patch adds support of sycl::marray to the rest of math built-in functions (SYCL 2020, Table 175), and adds missing tests for math and common functions for #8631 to reduce number of upcoming cherry-picks.