Skip to content

Commit

Permalink
SpAdd handle: delete sort_option getter/setter (kokkos#2296)
Browse files Browse the repository at this point in the history
SpAdd handle was originally a copy-paste of the spgemm
handle way back in kokkos#122, and included get_sort_option() and
set_sort_option() from spgemm. But these try to use the member
bool sort_option, which doesn't exist. Somehow these functions never
produced compile errors until someone tried to call them.
  • Loading branch information
brian-kelley authored and ndellingwood committed Sep 4, 2024
1 parent e912091 commit c5a4bd5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sparse/src/KokkosSparse_spadd_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ class SPADDHandle {
*/
size_type get_c_nnz() { return this->result_nnz_size; }

void set_sort_option(int option) { this->sort_option = option; }

int get_sort_option() { return this->sort_option; }

#ifdef KOKKOSKERNELS_ENABLE_TPL_CUSPARSE
SpaddCusparseData cusparseData;
#endif
Expand Down

0 comments on commit c5a4bd5

Please sign in to comment.