Skip to content

Commit

Permalink
fix -Wunused-parameter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Zuzek committed Jan 19, 2022
1 parent 7fa4f69 commit 09f4590
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/sparse/impl/KokkosSparse_spgemm_mkl_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,18 @@ void mkl_symbolic(KernelHandle *handle, nnz_lno_t m, nnz_lno_t n, nnz_lno_t k,
c_rowmap_type row_mapC, bool verbose = false) {
#ifndef KOKKOSKERNELS_ENABLE_TPL_MKL
throw std::runtime_error("MKL was not enabled in this build!");
handle;
m;
n;
k;
row_mapA;
entriesA;
transposeA;
row_mapB;
entriesB;
transposeB;
row_mapC;
verbose;
#else
using values_type = typename KernelHandle::scalar_temp_work_view_t;
using c_index_type = b_index_type;
Expand All @@ -386,6 +398,22 @@ void mkl_apply(KernelHandle *handle, nnz_lno_t m, nnz_lno_t n, nnz_lno_t k,
c_values_type valuesC, bool verbose = false) {
#ifndef KOKKOSKERNELS_ENABLE_TPL_MKL
throw std::runtime_error("MKL was not enabled in this build!");
handle;
m;
n;
k;
row_mapA;
entriesA;
valuesA;
transposeA;
row_mapB;
entriesB;
valuesB;
transposeB;
row_mapC;
entriesC;
valuesC;
verbose;
#else
using mkl = MKLApply<KernelHandle, a_rowmap_type, a_index_type, a_values_type,
b_rowmap_type, b_index_type, b_values_type,
Expand Down

0 comments on commit 09f4590

Please sign in to comment.