Skip to content

Commit dfc2fff

Browse files
committed
Fix aot lit test
Signed-off-by: gejin <[email protected]>
1 parent a1bca27 commit dfc2fff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sycl/test/devicelib/cmath-aot.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/cmath_test.cpp -o %t.cmath.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.cmath.out
66

7-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/cmath_fp64_test.cpp -o %t.cmath.fp64.out
7+
// RUN: %clangxx -fsycl -fsycl-device-lib=libm-fp64 -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/cmath_fp64_test.cpp -o %t.cmath.fp64.out
88
// RUN: %CPU_RUN_PLACEHOLDER %t.cmath.fp64.out
99

1010
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/std_complex_math_test.cpp -o %t.complex.out
1111
// RUN: %CPU_RUN_PLACEHOLDER %t.complex.out
1212

13-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/std_complex_math_fp64_test.cpp -o %t.complex.fp64.out
13+
// RUN: %clangxx -fsycl -fsycl-device-lib=libm-fp64 -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/std_complex_math_fp64_test.cpp -o %t.complex.fp64.out
1414
// RUN: %CPU_RUN_PLACEHOLDER %t.complex.fp64.out

sycl/test/devicelib/complex-fpga.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===------------------------------------------------------------------------===//
8-
8+
// UNSUPPORTED: windows
99
// REQUIRES: aoc, accelerator
1010

1111
// RUN: %clangxx -fsycl -fsycl-targets=spir64_fpga-unknown-unknown-sycldevice %S/std_complex_math_test.cpp -o %t.out

0 commit comments

Comments
 (0)