Skip to content

Commit

Permalink
Avoid deprecation warnings when including deprecated header Kokkos_St…
Browse files Browse the repository at this point in the history
…aticCrsGraph.hpp

Signed-off-by: Damien L-G <[email protected]>
  • Loading branch information
dalg24 committed Dec 4, 2024
1 parent fd9ae14 commit a8696ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sparse/src/KokkosSparse_StaticCrsGraph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

#ifdef KOKKOS_ENABLE_DEPRECATED_CODE_4

#define KOKKOS_IMPL_DO_NOT_WARN_INCLUDE_STATIC_CRS_GRAPH
#include <Kokkos_StaticCrsGraph.hpp>
#undef KOKKOS_IMPL_DO_NOT_WARN_INCLUDE_STATIC_CRS_GRAPH

namespace KokkosSparse {
using Kokkos::create_staticcrsgraph;
Expand Down

0 comments on commit a8696ae

Please sign in to comment.