Skip to content

Commit

Permalink
[SYCL][ESIMD][E2E] Remove no-fast-math option from tests that now pas…
Browse files Browse the repository at this point in the history
…s without it (#17226)
  • Loading branch information
fineg74 authored Mar 3, 2025
1 parent a8fdb33 commit d8b064a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 14 deletions.
5 changes: 1 addition & 4 deletions sycl/test-e2e/ESIMD/api/replicate_smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: arch-intel_gpu_pvc
// TODO: remove fno-fast-math option once the issue is investigated and the test
// is fixed.
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// RUN: %{build} -fsycl-device-code-split=per_kernel %{mathflags} -o %t.out
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out
//
// The test checks main functionality of the esimd::replicate_vs_w_hs function.
Expand Down
3 changes: 1 addition & 2 deletions sycl/test-e2e/ESIMD/ext_math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
//
//===----------------------------------------------------------------------===//
// REQUIRES-INTEL-DRIVER: lin: 27012, win: 101.4576
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// RUN: %{build} -fsycl-device-code-split=per_kernel %{mathflags} -o %t.out
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out

// UNSUPPORTED: arch-intel_gpu_pvc
Expand Down
3 changes: 1 addition & 2 deletions sycl/test-e2e/ESIMD/ext_math_ieee_sqrt_div.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
// REQUIRES: arch-intel_gpu_pvc
// REQUIRES-INTEL-DRIVER: lin: 31294

// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// RUN: %{build} -fsycl-device-code-split=per_kernel %{mathflags} -o %t.out
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out

// This test checks ieee_sqrt() and ieee_sqrt() with float and double types.
Expand Down
3 changes: 1 addition & 2 deletions sycl/test-e2e/ESIMD/ext_math_pvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
//
//===----------------------------------------------------------------------===//
// REQUIRES-INTEL-DRIVER: lin: 31294
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// RUN: %{build} -fsycl-device-code-split=per_kernel %{mathflags} -o %t.out
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out

// REQUIRES: arch-intel_gpu_pvc
Expand Down
3 changes: 1 addition & 2 deletions sycl/test-e2e/ESIMD/ext_math_saturate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
//
//===----------------------------------------------------------------------===//
// REQUIRES-INTEL-DRIVER: lin: 27012, win: 101.4576
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// RUN: %{build} -fsycl-device-code-split=per_kernel %{mathflags} -o %t.out
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out

// UNSUPPORTED: arch-intel_gpu_pvc
Expand Down
3 changes: 1 addition & 2 deletions sycl/test-e2e/ESIMD/ext_math_saturate_pvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
//
//===----------------------------------------------------------------------===//
// REQUIRES-INTEL-DRIVER: lin: 31294
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// RUN: %{build} -fsycl-device-code-split=per_kernel %{mathflags} -o %t.out
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out

// REQUIRES: arch-intel_gpu_pvc
Expand Down

0 comments on commit d8b064a

Please sign in to comment.