Skip to content

Commit 375f990

Browse files
committed
Fix pre-commit cuda failures
1 parent fd46a46 commit 375f990

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/test-e2e/DeviceLib/cmath_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// RUN: %if !gpu %{ %{run} %t2.out %}
88
//
99
// // Check that --fast-math works with cmath funcs for CUDA
10-
// RUN: %if cuda %{ %{build} -fno-builtin %{mathflags} -o %t3.out -ffast-math -DSYCL_E2E_FASTMATH %}
10+
// RUN: %if any-device-is-cuda %{ %{build} -Wno-nan-infinity-disabled -fno-builtin %{mathflags} -o %t3.out -ffast-math -DSYCL_E2E_FASTMATH %}
1111
// RUN: %if cuda %{ %{run} %t3.out %}
1212

1313
#include "math_utils.hpp"

sycl/test-e2e/SharedLib/use_with_dlopen_verify_cache.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// RUN: %{build} -DBUILD_LIB -fPIC -shared -o %T/lib%basename_t.so
44

5-
// DEFINE: %{compile} = %{build} -DFNAME=%basename_t-ldl -Wl,-rpath=%T
5+
// DEFINE: %{compile} = %{build} -DFNAME=%basename_t -ldl -Wl,-rpath=%T
66

77
// RUN: %{compile} -o %t1.out -DRUN_FIRST
88
// RUN: env SYCL_UR_TRACE=2 %{run} %t1.out 2>&1 | FileCheck %s --check-prefixes=CHECK-FIRST,CHECK --implicit-check-not=piProgramBuild
@@ -15,8 +15,8 @@
1515

1616
// clang-format off
1717
// This causes SEG. FAULT.
18-
// RUNx: %{compile} -o %t4.out -DRUN_LAST
19-
// RUNx: env SYCL_UR_TRACE=2 %{run} %t4.out 2>&1 | FileCheck %s --check-prefixes=CHECK-LAST,CHECK --implicit-check-not=piProgramBuild
18+
// RUNx: %{compile} -DRUN_LAST
19+
// RUNx: env SYCL_UR_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-LAST,CHECK --implicit-check-not=piProgramBuild
2020
// clang-format on
2121

2222
#include <sycl/detail/core.hpp>

0 commit comments

Comments
 (0)