Skip to content

Commit 0e43330

Browse files
committed
skip failing check on win
1 parent 5dc1f88 commit 0e43330

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sycl/test-e2e/DeviceLib/exp/exp-std-complex-edge-cases.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include <cmath>
77
#include <complex>
8+
#include <type_traits>
89

910
bool check(bool cond, const std::string &cond_str, int line,
1011
unsigned testcase) {
@@ -290,6 +291,13 @@ template <typename T> bool test() {
290291
} else if (std::isfinite(testcases[i].imag()) &&
291292
std::abs(testcases[i].imag()) <= 1) {
292293
CHECK(!std::signbit(r.real()), passed, i);
294+
#ifdef _WIN32
295+
// This check fails on win, temporary skipping:
296+
// CMPLRLLVM-61834
297+
// TODO: Delete this macro block when fixed
298+
if (std::is_same_v<typename decltype(r)::value_type, float>)
299+
continue;
300+
#endif
293301
CHECK(std::signbit(r.imag()) == std::signbit(testcases[i].imag()),
294302
passed, i);
295303
// Those tests were taken from oneDPL, not sure what is the corner case

0 commit comments

Comments
 (0)