Skip to content

Commit 8e51ba6

Browse files
authored
Suppress -Winterference-size verbose warnings (#2288)
# Motivation As title. Disable_e2e
1 parent 845bdfd commit 8e51ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/BuildFlags.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"
3636
list(APPEND SYCL_HOST_FLAGS -fPIC)
3737
list(APPEND SYCL_HOST_FLAGS -std=c++17)
3838
list(APPEND SYCL_HOST_FLAGS -Wunused-variable)
39+
list(APPEND SYCL_HOST_FLAGS -Wno-interference-size)
3940
# Some versions of DPC++ compiler pass paths to SYCL headers as user include paths (`-I`) rather
4041
# than system paths (`-isystem`). This makes host compiler to report warnings encountered in the
4142
# SYCL headers, such as deprecated warnings, even if warned API is not actually used in the program.

0 commit comments

Comments
 (0)