-
Notifications
You must be signed in to change notification settings - Fork 130
[ESIMD] Add a LIT test verifying DPAS with 2 tfloat32 arguments #1180
[ESIMD] Add a LIT test verifying DPAS with 2 tfloat32 arguments #1180
Conversation
/verify with intel/llvm#6647 |
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
d6472c1
to
c8d4cf7
Compare
/verify with intel/llvm#6647 |
SYCL/ESIMD/dpas/dpas_tf32.cpp
Outdated
using namespace sycl::ext::intel::experimental::esimd; | ||
|
||
int main() { | ||
queue Q; |
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.
why not use custom selector and exception handler as in ESIMD tests?
queue q(esimd_test::ESIMDSelector{}, esimd_test::createExceptionHandler());
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.
because the way how CI works, the GPU selector will be chosen anyway.
Regarding exception handler..., Ok, I'll add it.
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.
Fixed in 21db007
SYCL/ESIMD/dpas/dpas_tf32.cpp
Outdated
}).wait(); | ||
|
||
unsigned ErrCnt = 0; | ||
for (unsigned I = 0; I < M * N && ErrCnt < 10; ++I) { |
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.
Nit: this will likely give warnings on linux and suggestion to add braces
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 compiled it on Linux and no-warnings. But no problems, I added braces: 1667d58
Thank you.
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
/verify with intel/llvm#6647 |
The fails on Windows are unrelated and known (there is internal tracker). |
…l#1180) * [ESIMD] Add a LIT test verifying DPAS with 2 tfloat32 arguments Signed-off-by: Vyacheslav N Klochkov <[email protected]>
…l/llvm-test-suite#1180) * [ESIMD] Add a LIT test verifying DPAS with 2 tfloat32 arguments Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Signed-off-by: Vyacheslav N Klochkov [email protected]