From a8696ae9dd53e3079f4648575e3cf9e13ea807d3 Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Tue, 3 Dec 2024 09:52:08 -0500 Subject: [PATCH] Avoid deprecation warnings when including deprecated header Kokkos_StaticCrsGraph.hpp Signed-off-by: Damien L-G --- sparse/src/KokkosSparse_StaticCrsGraph.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sparse/src/KokkosSparse_StaticCrsGraph.hpp b/sparse/src/KokkosSparse_StaticCrsGraph.hpp index 02629e204f..7330f36e27 100644 --- a/sparse/src/KokkosSparse_StaticCrsGraph.hpp +++ b/sparse/src/KokkosSparse_StaticCrsGraph.hpp @@ -21,7 +21,9 @@ #ifdef KOKKOS_ENABLE_DEPRECATED_CODE_4 +#define KOKKOS_IMPL_DO_NOT_WARN_INCLUDE_STATIC_CRS_GRAPH #include +#undef KOKKOS_IMPL_DO_NOT_WARN_INCLUDE_STATIC_CRS_GRAPH namespace KokkosSparse { using Kokkos::create_staticcrsgraph;