Skip to content

Commit bb1f6d4

Browse files
authored
[SYCL][ESIMD][E2E] Disable fast math for mandelbrot_spec.cpp (#19324)
The GPU driver team recommended this change, the loss of accuracy causes it to fail, there is no real issue. Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent 4aef322 commit bb1f6d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/test-e2e/ESIMD/mandelbrot/mandelbrot_spec.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
// TODO enable on Windows
1010
// REQUIRES: linux && gpu
1111
// REQUIRES: aspect-ext_intel_legacy_image
12-
// RUN: %{build} -o %t.out
12+
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
13+
// RUN: %{build} %{mathflags} -o %t.out
1314
// RUN: %{run} %t.out %T/output_spec.ppm %S/golden_hw.ppm 512 -2.09798 -1.19798 0.004 4.0
1415

1516
#include "../esimd_test_utils.hpp"

0 commit comments

Comments
 (0)