Skip to content

Commit

Permalink
SpAdd handle: delete sort_option getter/setter (#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 #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 Aug 6, 2024
1 parent e3ab649 commit c003142
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 c003142

Please sign in to comment.