Skip to content

Commit

Permalink
[SYCL][E2E] Add -fno-finite-math-only to test requiring isnan/isinf c…
Browse files Browse the repository at this point in the history
…hecks (intel#9436)

Signed-off-by: Tikhomirova, Kseniya <[email protected]>
  • Loading branch information
KseniyaTikhomirova authored May 12, 2023
1 parent 834df47 commit f0f3613
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sycl/test-e2e/Complex/sycl_complex_stream_test.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-finite-math-only%} %else %{-fno-finite-math-only%}

// RUN: %{build} -fsycl-device-code-split=per_kernel %{mathflags} -o %t.out
// RUN: %{run} %t.out

#include "sycl_complex_helper.hpp"
Expand Down

0 comments on commit f0f3613

Please sign in to comment.