From e5bfc8433997e812de6eee9a4a970a16cdebe027 Mon Sep 17 00:00:00 2001 From: Luc Berger-Vergiat Date: Thu, 9 May 2024 11:27:00 -0600 Subject: [PATCH] Sparse - SpTRSV: fix for cusparse < 110300 --- sparse/tpls/KokkosSparse_sptrsv_solve_tpl_spec_decl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sparse/tpls/KokkosSparse_sptrsv_solve_tpl_spec_decl.hpp b/sparse/tpls/KokkosSparse_sptrsv_solve_tpl_spec_decl.hpp index 5845021c96..24487d1f3e 100644 --- a/sparse/tpls/KokkosSparse_sptrsv_solve_tpl_spec_decl.hpp +++ b/sparse/tpls/KokkosSparse_sptrsv_solve_tpl_spec_decl.hpp @@ -80,6 +80,7 @@ void sptrsv_solve_cusparse(ExecutionSpace& space, cusparseStatus_t status; + const idx_type nrows = sptrsv_handle->get_nrows(); typename KernelHandle::SPTRSVcuSparseHandleType *h = sptrsv_handle->get_cuSparseHandle();