From 3b116f8c6340c1c88a6469ba832536eb97029ad1 Mon Sep 17 00:00:00 2001 From: Luc Berger-Vergiat Date: Tue, 23 Jan 2024 16:57:00 -0700 Subject: [PATCH] Lapack - SVD: fixing bug in cuSOLVER TPL layer --- lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp b/lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp index 28c4f6ed1b..dc7613ac58 100644 --- a/lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp +++ b/lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp @@ -75,7 +75,7 @@ void lapackSvdWrapper(const ExecutionSpace& /* space */, const char jobu[], cons lwork = static_cast(work(0)); } work = Kokkos::View("svd work buffer", lwork); - HostLapack::gesvd(jobu, jobvt, m, n, A.data(), lda, S.data(), U.data(), ldu, + HostLapack::gesvd(jobu[0], jobvt[0], m, n, A.data(), lda, S.data(), U.data(), ldu, Vt.data(), ldvt, work.data(), lwork, rwork.data(), info); }