Skip to content

Commit

Permalink
KokkosKernels: patch trilinos#2296
Browse files Browse the repository at this point in the history
SpAdd handle: delete sort_option getter/setter (trilinos#2296)

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.

Fixes build errors on Sunspot.
  • Loading branch information
brian-kelley committed Aug 19, 2024
1 parent ec9e57a commit b7a7a71
Showing 1 changed file with 0 additions and 4 deletions.
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 b7a7a71

Please sign in to comment.