Skip to content

Commit

Permalink
Drop unnecessary template parameters
Browse files Browse the repository at this point in the history
The template parameters for `spadd` have changed in the new version and
unnecessary template parameters have been dropped. To adjust with it, we
just let the compiler deduce the parameters.
  • Loading branch information
cartoonist committed Apr 12, 2023
1 parent f5f1602 commit c50ef8c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions include/pairg/spgemm_utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,8 @@ namespace pairg
scalar_view_t values_C;

//Compute no. of nnz elements in C
KokkosSparse::Experimental::spadd_symbolic<
KernelHandle,
lno_view_t::const_type, lno_nnz_view_t::const_type,
lno_view_t::const_type, lno_nnz_view_t::const_type,
lno_view_t, lno_nnz_view_t>
(&kh, A.graph.row_map, A.graph.entries,
KokkosSparse::Experimental::spadd_symbolic (&kh,
A.graph.row_map, A.graph.entries,
B.graph.row_map, B.graph.entries, row_map_C);

size_type max_result_nnz = kh.get_spadd_handle()->get_c_nnz();
Expand Down

0 comments on commit c50ef8c

Please sign in to comment.