Skip to content

Commit 6b8c16c

Browse files
fineg74asudarsa
andauthored
[SYCL][ESIMD] Disable the test on Windows as required options are not supported by clang-cl (#14348)
Co-authored-by: Arvind Sudarsanam <[email protected]>
1 parent 096e61b commit 6b8c16c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

sycl/test-e2e/ESIMD/lsc/lsc_usm_store_u32.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@
66
//
77
//===----------------------------------------------------------------------===//
88
// REQUIRES: gpu-intel-dg2
9-
// DEFINE: %{winBuildFlag} = %if windows %{-Qfp-speculation=safe%} %else %{%}
10-
// RUN: %{build} %{winBuildFlag}-o %t.out
9+
// UNSUPPORTED: windows
10+
// RUN: %{build} -o %t.out
1111
// RUN: %{run} %t.out
1212

13+
// TODO: Windows compiler causes this test to fail due to handling of floating
14+
// point arithmetics. Fixing requires using -Qfp-speculation=safe option to
15+
// disable some floating point optimizations to produce correct result. icx
16+
// compiler supports that option while clang-cl does not which causes test to
17+
// fail when running as part of a test suite. Therefore the test is disabled for
18+
// windows until equivalent option is found.
19+
1320
#include "Inputs/lsc_usm_store.hpp"
1421

1522
constexpr uint32_t seed = 299;

0 commit comments

Comments
 (0)