Skip to content

[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

Merged
merged 7 commits into from
Nov 25, 2024

Conversation

jzc
Copy link
Contributor

@jzc jzc commented Oct 29, 2024

No description provided.

@jzc jzc requested a review from a team as a code owner October 29, 2024 20:13
@jzc jzc requested a review from cperkinsintel October 29, 2024 20:13
@jzc jzc temporarily deployed to WindowsCILock October 29, 2024 20:14 — with GitHub Actions Inactive
@jzc jzc temporarily deployed to WindowsCILock October 29, 2024 21:08 — with GitHub Actions Inactive
@jzc jzc requested a review from asudarsa November 4, 2024 15:56
nfail += test<long>(q);
nfail += test<float>(q);
if (q.get_device().has(aspect::fp64))
nfail += test<double>(q);
Copy link
Contributor

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.

@dm-vodopyanov dm-vodopyanov merged commit 86376a8 into intel:sycl Nov 25, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants