Skip to content

Commit

Permalink
Merge pull request #1531 from tcclevenger/change_staticcrsgraph_typde…
Browse files Browse the repository at this point in the history
…f_template

Change template type for StaticCrsGraph in BsrMatrix
  • Loading branch information
lucbv authored Oct 10, 2022
2 parents d03c9fc + e683dd4 commit bb89138
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sparse/src/KokkosSparse_BsrMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,12 @@ class BsrMatrix {
typedef BsrMatrix<ScalarType, OrdinalType, host_mirror_space, MemoryTraits>
HostMirror;
//! Type of the graph structure of the sparse matrix.
typedef Kokkos::StaticCrsGraph<ordinal_type, Kokkos::LayoutLeft,
execution_space, memory_traits, size_type>
typedef Kokkos::StaticCrsGraph<ordinal_type, Kokkos::LayoutLeft, device_type,
memory_traits, size_type>
StaticCrsGraphType;
//! Type of the graph structure of the sparse matrix - consistent with Kokkos.
typedef Kokkos::StaticCrsGraph<ordinal_type, Kokkos::LayoutLeft,
execution_space, memory_traits, size_type>
typedef Kokkos::StaticCrsGraph<ordinal_type, Kokkos::LayoutLeft, device_type,
memory_traits, size_type>
staticcrsgraph_type;
//! Type of column indices in the sparse matrix.
typedef typename staticcrsgraph_type::entries_type index_type;
Expand Down

0 comments on commit bb89138

Please sign in to comment.