File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
unittests/kernel-and-program Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ macro(add_sycl_unittest test_dirname link_variant)
24
24
25
25
get_target_property (SYCL_LINK_LIBS ${sycl_so_target} LINK_LIBRARIES )
26
26
endif ()
27
- target_compile_definitions (${test_dirname} PRIVATE SYCL2020_DISABLE_DEPRECATION_WARNINGS )
28
27
29
28
target_link_libraries (${test_dirname}
30
29
PRIVATE
@@ -74,7 +73,6 @@ macro(add_sycl_unittest_with_device test_dirname link_variant)
74
73
-DGTEST_LANG_CXX11=1
75
74
-DGTEST_HAS_TR1_TUPLE=0
76
75
-D__SYCL_BUILD_SYCL_DLL
77
- -DSYCL2020_DISABLE_DEPRECATION_WARNINGS
78
76
-I${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include
79
77
-I${LLVM_MAIN_SRC_DIR}/utils/unittest/googlemock/include
80
78
-I${LLVM_BINARY_DIR}/include
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #define SYCL2020_DISABLE_DEPRECATION_WARNINGS
10
+
9
11
#include " CL/sycl/detail/pi.h"
10
12
#include " detail/context_impl.hpp"
11
13
#include " detail/kernel_program_cache.hpp"
You can’t perform that action at this time.
0 commit comments