Skip to content

Commit

Permalink
Address CUDA10 CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
e10harvey committed Oct 24, 2023
1 parent dd0ad97 commit a42e2cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sparse/impl/KokkosSparse_sptrsv_cuSPARSE_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,10 @@ void sptrsvcuSPARSE_solve(ExecutionSpace &space, KernelHandle *sptrsv_handle,
typename KernelHandle::SPTRSVcuSparseHandleType *h =
sptrsv_handle->get_cuSparseHandle();

KOKKOS_CUSPARSE_SAFE_CALL(
cusparseSetStream(h->handle, space.cuda_stream()));
if constexpr (std::is_same_v<ExecutionSpace, Kokkos::Cuda>) {
KOKKOS_CUSPARSE_SAFE_CALL(
cusparseSetStream(h->handle, space.cuda_stream()));
}

int nnz = entries.extent_int(0);

Expand Down

0 comments on commit a42e2cf

Please sign in to comment.