-
Notifications
You must be signed in to change notification settings - Fork 796
[SYCL] Added support of rounding modes for non-host devices #1463
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
Changes from 35 commits
916dba8
0dba70d
0443893
cf7c3d4
b4a9f93
c671d9b
6c43eca
bb88eff
cf8e720
bbad4df
b9a171e
f927a3e
2a96e9b
a03b462
070fbf5
9c13847
543fe09
ec8806a
870059e
ea768af
238ee1a
c03698b
e0b0566
c5cf20e
8267f30
33220d7
5683577
5cd3e6e
843bf4a
2a1fb94
8921bc3
f6d6777
e875fbf
f1f2897
c417b51
014c0d4
b0eb8e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| // XFAIL: cuda | ||
| // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out | ||
| // RUN: env SYCL_DEVICE_TYPE=HOST %t.out | ||
| // RUNx: %CPU_RUN_PLACEHOLDER %t.out | ||
| // RUNx: %GPU_RUN_PLACEHOLDER %t.out | ||
| // RUNx: %ACC_RUN_PLACEHOLDER %t.out | ||
| // RUN: %CPU_RUN_PLACEHOLDER %t.out | ||
| // RUN: %GPU_RUN_PLACEHOLDER %t.out | ||
| // RUN: %ACC_RUN_PLACEHOLDER %t.out | ||
| //==------------ vec_convert.cpp - SYCL vec class convert method test ------==// | ||
| // | ||
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
|
|
@@ -17,6 +18,7 @@ | |
|
|
||
| // TODO uncomment run lines on non-host devices when the rounding modes will | ||
| // be implemented. | ||
bader marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| // TODO make the test to pass on cuda | ||
|
|
||
| using namespace cl::sycl; | ||
|
|
||
|
|
@@ -149,6 +151,5 @@ int main() { | |
| test<float, half, 8, rounding_mode::rtn>( | ||
| float8{+2.3f, +2.5f, +2.7f, -2.3f, -2.5f, -2.7f, 0.f, 0.f}, | ||
| half8{+2.3f, +2.5f, +2.7f, -2.3f, -2.5f, -2.7f, 0.f, 0.f}); | ||
|
|
||
| return 0; | ||
| } | ||
| } | ||
|
||
Uh oh!
There was an error while loading. Please reload this page.