-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL] Enable E2E test of fp64 conversion emulation #15923
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
Conversation
nfail += test<long>(q); | ||
nfail += test<float>(q); | ||
if (q.get_device().has(aspect::fp64)) | ||
nfail += test<double>(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.
Let's also have test_conv
or something, which would use a different op
. Right now the op
you have performs an operation directly on T
. The new op
should do static_cast<int>(x) + 1
. test_conv<double>
should be launched regardless of double
support on a device and it should always work. For simplicity, op
could be made a template argument of test
, I guess.
No description provided.