From 15cdb89c4602f244099acd55e99f7c4017a7dd71 Mon Sep 17 00:00:00 2001 From: "Larsen, Steffen" Date: Thu, 9 Jun 2022 06:48:40 -0700 Subject: [PATCH] [SYCL] Disable Printf tests for CUDA on Windows 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 --- SYCL/Printf/char.cpp | 1 + SYCL/Printf/float.cpp | 1 + SYCL/Printf/long.cpp | 1 + SYCL/Printf/mixed-address-space.cpp | 1 + SYCL/Printf/percent-symbol.cpp | 1 + 5 files changed, 5 insertions(+) diff --git a/SYCL/Printf/char.cpp b/SYCL/Printf/char.cpp index 7cdca04ccf..cdf31880e9 100644 --- a/SYCL/Printf/char.cpp +++ b/SYCL/Printf/char.cpp @@ -5,6 +5,7 @@ // [1]: https://en.cppreference.com/w/cpp/io/c/fprintf // // UNSUPPORTED: hip_amd +// XFAIL: cuda && windows // // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER diff --git a/SYCL/Printf/float.cpp b/SYCL/Printf/float.cpp index 7dcaa39276..49fab02b5e 100644 --- a/SYCL/Printf/float.cpp +++ b/SYCL/Printf/float.cpp @@ -5,6 +5,7 @@ // [1]: https://en.cppreference.com/w/cpp/io/c/fprintf // // UNSUPPORTED: hip_amd +// XFAIL: cuda && windows // // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER diff --git a/SYCL/Printf/long.cpp b/SYCL/Printf/long.cpp index b4cb14f411..a837487024 100644 --- a/SYCL/Printf/long.cpp +++ b/SYCL/Printf/long.cpp @@ -7,6 +7,7 @@ // FIXME: Once the Windows OpenCL CPU/ACC support is fixed, merge this test's // contents into the common integer test. // UNSUPPORTED: (windows && (cpu || accelerator)) || hip_amd +// XFAIL: cuda && windows // // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER diff --git a/SYCL/Printf/mixed-address-space.cpp b/SYCL/Printf/mixed-address-space.cpp index 37cb83ce68..2b89e9aa2f 100644 --- a/SYCL/Printf/mixed-address-space.cpp +++ b/SYCL/Printf/mixed-address-space.cpp @@ -2,6 +2,7 @@ // for constant and generic address space can be used in the same module. // // UNSUPPORTED: hip_amd +// XFAIL: cuda && windows // // FIXME: Drop the test once generic AS support is considered stable and the // dedicated constant AS overload of printf is removed from the library. diff --git a/SYCL/Printf/percent-symbol.cpp b/SYCL/Printf/percent-symbol.cpp index 5a23a7f2bf..e935a667c1 100644 --- a/SYCL/Printf/percent-symbol.cpp +++ b/SYCL/Printf/percent-symbol.cpp @@ -5,6 +5,7 @@ // [1]: https://en.cppreference.com/w/cpp/io/c/fprintf // // UNSUPPORTED: hip_amd +// XFAIL: cuda && windows // // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER