@@ -23,7 +23,6 @@ set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded)
2323option (CCCL_ENABLE_EXCEPTIONS "Enable exceptions within CCCL libraries." ON )
2424option (CCCL_ENABLE_RTTI "Enable RTTI within CCCL libraries." ON )
2525option (CCCL_ENABLE_WERROR "Treat warnings as errors for CCCL targets." ON )
26- option (CCCL_SUPPRESS_ICC_DEPRECATION_WARNING "Suppress Intel Compiler deprecation warnings" OFF )
2726option (CCCL_SUPPRESS_MSVC2017_DEPRECATION_WARNING "Suppress Visual Studio 2017 deprecation warnings" OFF )
2827
2928function (cccl_build_compiler_interface interface_target cuda_compile_options cxx_compile_options compile_defs)
@@ -69,10 +68,6 @@ function(cccl_build_compiler_targets)
6968 list (APPEND cxx_compile_definitions "CCCL_DISABLE_RTTI" )
7069 endif ()
7170
72- if (CCCL_SUPPRESS_ICC_DEPRECATION_WARNING)
73- list (APPEND cxx_compile_definitions "CCCL_SUPPRESS_ICC_DEPRECATION_WARNING" )
74- endif ()
75-
7671 if (CCCL_SUPPRESS_MSVC2017_DEPRECATION_WARNING)
7772 list (APPEND cxx_compile_definitions "CCCL_SUPPRESS_MSVC2017_DEPRECATION_WARNING" )
7873 endif ()
@@ -160,16 +155,6 @@ function(cccl_build_compiler_targets)
160155 endif ()
161156 endif ()
162157
163- if ("Intel" STREQUAL "${CMAKE_CXX_COMPILER_ID} " )
164- # Do not flush denormal floats to zero
165- append_option_if_available("-no-ftz" cxx_compile_options)
166- # Disable warning that inlining is inhibited by compiler thresholds.
167- append_option_if_available("-diag-disable=11074" cxx_compile_options)
168- append_option_if_available("-diag-disable=11076" cxx_compile_options)
169- # Disable warning about deprecated classic compiler
170- append_option_if_available("-diag-disable=10441" cxx_compile_options)
171- endif ()
172-
173158 cccl_build_compiler_interface(cccl.compiler_interface
174159 "${cuda_compile_options} "
175160 "${cxx_compile_options} "
0 commit comments