Skip to content

Commit 9b4b4dd

Browse files
authored
[SYCL][ESIMD][E2E] Re-enable LSC DG2 Windows test with correct flags (#14425)
I verified manually this option fixes the issue that was being tracked internally. Thanks to @aelovikov-intel for help finding the option that was required. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 47f3dee commit 9b4b4dd

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
//
77
//===----------------------------------------------------------------------===//
88
// REQUIRES: gpu-intel-dg2
9-
// UNSUPPORTED: windows
10-
// RUN: %{build} -o %t.out
11-
// RUN: %{run} %t.out
129

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.
10+
// Windows compiler causes this test to fail due to handling of floating
11+
// point arithmetics. Fixing requires using
12+
// -ffp-exception-behavior=maytrap option to disable some floating point
13+
// optimizations to produce correct result.
14+
// DEFINE: %{fpflags} = %if cl_options %{/clang:-ffp-exception-behavior=maytrap%} %else %{-ffp-exception-behavior=maytrap%}
15+
16+
// RUN: %{build} %{fpflags} -o %t.out
17+
// RUN: %{run} %t.out
1918

2019
#include "Inputs/lsc_usm_store.hpp"
2120

0 commit comments

Comments
 (0)