Skip to content

Commit

Permalink
Merge pull request #1727 from lucbv/cuda_11_4_fixes
Browse files Browse the repository at this point in the history
CUDA 11.4: fixing some failing build while trying to reproduce issue #1725
  • Loading branch information
lucbv authored Mar 14, 2023
2 parents 26bf333 + 9b0dfbd commit 26332ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions sparse/impl/KokkosSparse_sptrsv_cuSPARSE_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ void sptrsvcuSPARSE_solve(KernelHandle* sptrsv_handle,
typedef typename KernelHandle::scalar_t scalar_type;
typedef typename KernelHandle::memory_space memory_space;

(void)row_map;
(void)entries;
(void)values;

const bool is_cuda_space =
std::is_same<memory_space, Kokkos::CudaSpace>::value ||
std::is_same<memory_space, Kokkos::CudaUVMSpace>::value ||
Expand Down
2 changes: 1 addition & 1 deletion sparse/src/KokkosSparse_sptrsv_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class SPTRSVHandle {
cusparseSpSVDescr_t spsvDescr;
void *pBuffer{nullptr};

cuSparseHandleType(bool transpose_, bool is_lower) {
cuSparseHandleType(bool transpose_, bool /*is_lower*/) {
KOKKOS_CUSPARSE_SAFE_CALL(cusparseCreate(&handle));

KOKKOS_CUSPARSE_SAFE_CALL(
Expand Down
2 changes: 1 addition & 1 deletion sparse/tpls/KokkosSparse_spgemm_numeric_tpl_spec_decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ template <typename KernelHandle, typename lno_t, typename ConstRowMapType,
typename ConstEntriesType, typename ConstValuesType,
typename EntriesType, typename ValuesType>
void spgemm_numeric_cusparse(
KernelHandle *handle, lno_t m, lno_t n, lno_t k,
KernelHandle *handle, lno_t /*m*/, lno_t /*n*/, lno_t /*k*/,
const ConstRowMapType &row_mapA, const ConstEntriesType &entriesA,
const ConstValuesType &valuesA, const ConstRowMapType &row_mapB,
const ConstEntriesType &entriesB, const ConstValuesType &valuesB,
Expand Down

0 comments on commit 26332ed

Please sign in to comment.