From e07ef9d8feeee9fc116e1bb6548186017da6b938 Mon Sep 17 00:00:00 2001 From: Brian Kelley Date: Tue, 2 Feb 2021 09:29:17 -0700 Subject: [PATCH] KokkosKernels: patch in supernodal fix --- .../src/sparse/KokkosSparse_sptrsv_handle.hpp | 4 ++-- .../src/sparse/impl/KokkosSparse_sptrsv_solve_impl.hpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/kokkos-kernels/src/sparse/KokkosSparse_sptrsv_handle.hpp b/packages/kokkos-kernels/src/sparse/KokkosSparse_sptrsv_handle.hpp index b235743306b0..7fa8d4e4ffa4 100644 --- a/packages/kokkos-kernels/src/sparse/KokkosSparse_sptrsv_handle.hpp +++ b/packages/kokkos-kernels/src/sparse/KokkosSparse_sptrsv_handle.hpp @@ -222,11 +222,11 @@ class SPTRSVHandle { using integer_view_t = Kokkos::View; using integer_view_host_t = Kokkos::View; - using workspace_t = typename Kokkos::View; + using workspace_t = typename Kokkos::View>; // using host_crsmat_t = KokkosSparse::CrsMatrix; - using crsmat_t = KokkosSparse::CrsMatrix; + using crsmat_t = KokkosSparse::CrsMatrix, void, size_type>; // using host_graph_t = typename host_crsmat_t::StaticCrsGraphType; diff --git a/packages/kokkos-kernels/src/sparse/impl/KokkosSparse_sptrsv_solve_impl.hpp b/packages/kokkos-kernels/src/sparse/impl/KokkosSparse_sptrsv_solve_impl.hpp index 271d8b23966a..f7f3cc5bf58b 100644 --- a/packages/kokkos-kernels/src/sparse/impl/KokkosSparse_sptrsv_solve_impl.hpp +++ b/packages/kokkos-kernels/src/sparse/impl/KokkosSparse_sptrsv_solve_impl.hpp @@ -617,7 +617,7 @@ struct SparseTriSupernodalSpMVFunctor using scalar_t = typename LHSType::non_const_value_type; - using work_view_t = typename Kokkos::View; + using work_view_t = typename Kokkos::View>; int flag; long node_count; @@ -698,7 +698,7 @@ struct LowerTriSupernodalFunctor using scalar_t = typename ValuesType::non_const_value_type; using integer_view_t = Kokkos::View; - using work_view_t = typename Kokkos::View; + using work_view_t = typename Kokkos::View>; using range_type = Kokkos::pair; @@ -875,7 +875,7 @@ struct UpperTriSupernodalFunctor using scalar_t = typename ValuesType::non_const_value_type; using integer_view_t = Kokkos::View; - using work_view_t = typename Kokkos::View; + using work_view_t = typename Kokkos::View>; using SupernodeView = typename Kokkos::View;