-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL][ESIMD] Add test for kernel defined in template function #1511
Conversation
Signed-off-by: Sarnie, Nick <[email protected]>
/verify with intel/llvm#7996 |
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.
Thank you for the test.
I have only 2 comments:
-
PR needs clang-format fix
-
Not a requirement to change now, but a notice worse mentioning:
If you have equal choice between using USM or BUFFERs, then please choose USM because GPU RT is going to drop support of stateful accesses soon; buffers/acc API should still be supported, but via some emulation method (acc.get_pointer() + stateless GenX intrin).
@v-klochkov Thanks! The clang-format looks wrong acutally, it's breaking a comment:
I just modified vadd_1d.cpp instead of writing this myself, so I'll just leave it for now |
I think making the line 1 symbol shorter would solve the problem with clang-format |
ah ok let me try thanks |
Please keep this test as a separate one. vadd_1d.cpp is known as one of most trivial tests that always worked and perhaps will. |
Co-authored-by: Vyacheslav Klochkov <[email protected]>
Sorry, I mean this test is based on that one. That file is not modified. |
/verify with intel/llvm#7996 |
@sarnex - please click 'Ready for review' when you think it is ready. |
@v-klochkov Done, whoops |
The new test expectedly failed without the fix in ESIMD headers and passed with it (Jenkins/llvm-test-suite) |
…#1511) * [SYCL][ESIMD] Add test for kernel defined in template function Signed-off-by: Sarnie, Nick <[email protected]>
…/llvm-test-suite#1511) * [SYCL][ESIMD] Add test for kernel defined in template function Signed-off-by: Sarnie, Nick <[email protected]>
Related to intel/llvm#7996
Signed-off-by: Sarnie, Nick [email protected]