Skip to content

Commit

Permalink
Silence warning about deprecation of classical oneAPI compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Nov 29, 2023
1 parent 0ea71a9 commit 68b760e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cub/cmake/CubBuildCompilerTargets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ function(cub_build_compiler_targets)
# Disable warning that inlining is inhibited by compiler thresholds.
append_option_if_available("-diag-disable=11074" cxx_compile_options)
append_option_if_available("-diag-disable=11076" cxx_compile_options)
# Disable warning about deprecated classic compiler
append_option_if_available("-diag-disable=10441" cxx_compile_options)
endif()

if ("Clang" STREQUAL "${CMAKE_CXX_COMPILER_ID}")
Expand Down
1 change: 1 addition & 0 deletions libcudacxx/test/utils/libcudacxx/test/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ def configure_cxx(self):

if 'icc' in self.config.available_features:
self.cxx.link_flags += ['-lirc']
self.cxx.compile_flags += ['-diag-disable=10441']

def _configure_clang_cl(self, clang_path):
def _split_env_var(var):
Expand Down
2 changes: 2 additions & 0 deletions thrust/cmake/ThrustBuildCompilerTargets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ function(thrust_build_compiler_targets)
# Disable warning that inlining is inhibited by compiler thresholds.
append_option_if_available("-diag-disable=11074" cxx_compile_options)
append_option_if_available("-diag-disable=11076" cxx_compile_options)
# Disable warning about deprecated classic compiler
append_option_if_available("-diag-disable=10441" cxx_compile_options)
endif()

add_library(thrust.compiler_interface INTERFACE)
Expand Down

0 comments on commit 68b760e

Please sign in to comment.