From b7a7a71d9ab66970e082474775952348b5a0eea4 Mon Sep 17 00:00:00 2001 From: Brian Kelley Date: Mon, 19 Aug 2024 11:15:16 -0600 Subject: [PATCH] KokkosKernels: patch #2296 SpAdd handle: delete sort_option getter/setter (#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. --- .../kokkos-kernels/sparse/src/KokkosSparse_spadd_handle.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/kokkos-kernels/sparse/src/KokkosSparse_spadd_handle.hpp b/packages/kokkos-kernels/sparse/src/KokkosSparse_spadd_handle.hpp index ea9594ca3e2f..8d28309585a7 100644 --- a/packages/kokkos-kernels/sparse/src/KokkosSparse_spadd_handle.hpp +++ b/packages/kokkos-kernels/sparse/src/KokkosSparse_spadd_handle.hpp @@ -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