Skip to content

Commit

Permalink
Lapack - SVD: fixing bug in cuSOLVER TPL layer
Browse files Browse the repository at this point in the history
  • Loading branch information
lucbv committed Jan 23, 2024
1 parent 1b9efc8 commit 3b116f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void lapackSvdWrapper(const ExecutionSpace& /* space */, const char jobu[], cons
lwork = static_cast<int>(work(0));
}
work = Kokkos::View<Scalar*, memory_space>("svd work buffer", lwork);
HostLapack<Scalar>::gesvd(jobu, jobvt, m, n, A.data(), lda, S.data(), U.data(), ldu,
HostLapack<Scalar>::gesvd(jobu[0], jobvt[0], m, n, A.data(), lda, S.data(), U.data(), ldu,
Vt.data(), ldvt, work.data(), lwork, rwork.data(), info);
}

Expand Down

0 comments on commit 3b116f8

Please sign in to comment.