Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit e8de79e

Browse files
[SYCL] XFAIL Printf tests for CUDA on Windows (#1051)
Building the Printf tests on a Windows machine using the CUDA backend will fail due to the internal logic using a global variable. This commit makes this configuration XFAIL until this problem has been addressed. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent f2e536c commit e8de79e

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

SYCL/Printf/char.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// [1]: https://en.cppreference.com/w/cpp/io/c/fprintf
66
//
77
// UNSUPPORTED: hip_amd
8+
// XFAIL: cuda && windows
89
//
910
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
1011
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER

SYCL/Printf/float.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// [1]: https://en.cppreference.com/w/cpp/io/c/fprintf
66
//
77
// UNSUPPORTED: hip_amd
8+
// XFAIL: cuda && windows
89
//
910
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
1011
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER

SYCL/Printf/long.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// FIXME: Once the Windows OpenCL CPU/ACC support is fixed, merge this test's
88
// contents into the common integer test.
99
// UNSUPPORTED: (windows && (cpu || accelerator)) || hip_amd
10+
// XFAIL: cuda && windows
1011
//
1112
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
1213
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER

SYCL/Printf/mixed-address-space.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for constant and generic address space can be used in the same module.
33
//
44
// UNSUPPORTED: hip_amd
5+
// XFAIL: cuda && windows
56
//
67
// FIXME: Drop the test once generic AS support is considered stable and the
78
// dedicated constant AS overload of printf is removed from the library.

SYCL/Printf/percent-symbol.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// [1]: https://en.cppreference.com/w/cpp/io/c/fprintf
66
//
77
// UNSUPPORTED: hip_amd
8+
// XFAIL: cuda && windows
89
//
910
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
1011
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER

0 commit comments

Comments
 (0)