File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 5
5
// + below sm_80 always uses generic impls
6
6
7
7
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
8
- // RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %if any-device-is-cuda %{ -Xsycl-target-backend --cuda-gpu-arch=sm_80 %} %s -o %t.out %{mathflags}
8
+ // RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %if any-device-is-cuda %{ -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_80 %} %s -o %t.out %{mathflags}
9
9
// RUN: %{run} %t.out
10
10
11
11
// Test "new" (ABI breaking) for all platforms ( sm_80/native if CUDA )
12
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl -fpreview-breaking-changes -fsycl-targets=%{sycl_triple} %if any-device-is-cuda %{ -Xsycl-target-backend --cuda-gpu-arch=sm_80 %} %s -o %t2.out %{mathflags} %}
12
+ // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl -fpreview-breaking-changes -fsycl-targets=%{sycl_triple} %if any-device-is-cuda %{ -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_80 %} %s -o %t2.out %{mathflags} %}
13
13
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
14
14
15
15
// Currently the feature isn't supported on FPGA.
16
16
// UNSUPPORTED: accelerator
17
- // FIXME: enable opaque pointers support on CPU.
18
- // XFAIL: cpu
19
17
#include " bfloat16_builtins.hpp"
20
18
21
19
int main () {
Original file line number Diff line number Diff line change 7
7
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
8
8
9
9
// If CUDA, test "new" again for sm_75/generic
10
- // RUN: %if any-device-is-cuda %{ %if preview-breaking-changes-supported %{ %clangxx -fsycl -fpreview-breaking-changes -fsycl-targets=%{sycl_triple} -Xsycl-target-backend --cuda-gpu-arch=sm_75 %s -o %t3.out %{mathflags} %} %}
10
+ // RUN: %if any-device-is-cuda %{ %if preview-breaking-changes-supported %{ %clangxx -fsycl -fpreview-breaking-changes -fsycl-targets=%{sycl_triple} -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_75 %s -o %t3.out %{mathflags} %} %}
11
11
// RUN: %if any-device-is-cuda %{ %if preview-breaking-changes-supported %{ %{run} %t3.out %} %}
12
12
13
13
// Currently the feature isn't supported on FPGA.
14
14
// UNSUPPORTED: accelerator
15
- // FIXME: enable opaque pointers support on CPU.
16
- // XFAIL: cpu
17
15
#include " bfloat16_builtins.hpp"
18
16
19
17
int main () {
Original file line number Diff line number Diff line change 1
- // RUN: %if any-device-is-cuda %{ %{build} -DUSE_CUDA_SM80=1 -Xsycl-target-backend --cuda-gpu-arch=sm_80 -o %t.out %}
1
+ // RUN: %if any-device-is-cuda %{ %{build} -DUSE_CUDA_SM80=1 -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_80 -o %t.out %}
2
2
// RUN: %if cuda %{ %{run} %t.out %}
3
3
// RUN: %{build} -o %t.out
4
4
// RUN: %{run} %t.out
7
7
// UNSUPPORTED: accelerator
8
8
9
9
// FIXME: enable opaque pointers support on CPU.
10
- // XFAIL: cpu
11
10
12
11
// ==----------- bfloat16_type.cpp - SYCL bfloat16 type test ----------------==//
13
12
//
You can’t perform that action at this time.
0 commit comments