From d8b064a875dd280e7d3970064d7e9e3619a391ff Mon Sep 17 00:00:00 2001 From: fineg74 <61437305+fineg74@users.noreply.github.com> Date: Mon, 3 Mar 2025 15:08:48 -0800 Subject: [PATCH] [SYCL][ESIMD][E2E] Remove no-fast-math option from tests that now pass without it (#17226) --- sycl/test-e2e/ESIMD/api/replicate_smoke.cpp | 5 +---- sycl/test-e2e/ESIMD/ext_math.cpp | 3 +-- sycl/test-e2e/ESIMD/ext_math_ieee_sqrt_div.cpp | 3 +-- sycl/test-e2e/ESIMD/ext_math_pvc.cpp | 3 +-- sycl/test-e2e/ESIMD/ext_math_saturate.cpp | 3 +-- sycl/test-e2e/ESIMD/ext_math_saturate_pvc.cpp | 3 +-- 6 files changed, 6 insertions(+), 14 deletions(-) diff --git a/sycl/test-e2e/ESIMD/api/replicate_smoke.cpp b/sycl/test-e2e/ESIMD/api/replicate_smoke.cpp index b07a5a6b9bd71..698b17038a77b 100644 --- a/sycl/test-e2e/ESIMD/api/replicate_smoke.cpp +++ b/sycl/test-e2e/ESIMD/api/replicate_smoke.cpp @@ -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. diff --git a/sycl/test-e2e/ESIMD/ext_math.cpp b/sycl/test-e2e/ESIMD/ext_math.cpp index ae750692b7372..6643e00f070b2 100644 --- a/sycl/test-e2e/ESIMD/ext_math.cpp +++ b/sycl/test-e2e/ESIMD/ext_math.cpp @@ -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 diff --git a/sycl/test-e2e/ESIMD/ext_math_ieee_sqrt_div.cpp b/sycl/test-e2e/ESIMD/ext_math_ieee_sqrt_div.cpp index 7aba22046a4c6..18d542f2d5cd5 100644 --- a/sycl/test-e2e/ESIMD/ext_math_ieee_sqrt_div.cpp +++ b/sycl/test-e2e/ESIMD/ext_math_ieee_sqrt_div.cpp @@ -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. diff --git a/sycl/test-e2e/ESIMD/ext_math_pvc.cpp b/sycl/test-e2e/ESIMD/ext_math_pvc.cpp index 0e31af8b24481..b9a981e24cefe 100644 --- a/sycl/test-e2e/ESIMD/ext_math_pvc.cpp +++ b/sycl/test-e2e/ESIMD/ext_math_pvc.cpp @@ -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 diff --git a/sycl/test-e2e/ESIMD/ext_math_saturate.cpp b/sycl/test-e2e/ESIMD/ext_math_saturate.cpp index 9dcc45d21c17d..e075241f244e8 100644 --- a/sycl/test-e2e/ESIMD/ext_math_saturate.cpp +++ b/sycl/test-e2e/ESIMD/ext_math_saturate.cpp @@ -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 diff --git a/sycl/test-e2e/ESIMD/ext_math_saturate_pvc.cpp b/sycl/test-e2e/ESIMD/ext_math_saturate_pvc.cpp index d3d0da1abbb69..953b56c40f33a 100644 --- a/sycl/test-e2e/ESIMD/ext_math_saturate_pvc.cpp +++ b/sycl/test-e2e/ESIMD/ext_math_saturate_pvc.cpp @@ -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