Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA 11.4: fixing some failing build while trying to reproduce issue #1725 #1727

Merged
merged 1 commit into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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