Skip to content

Commit

Permalink
KokkosLapack_svd_tpl_spec_decl: defer to MKL spec when LAPACK also en…
Browse files Browse the repository at this point in the history
…abled

Resolves redefintion of struct SVD compilation errors with both MKL and LAPACK are enabled
Reported by @maartenarnst in trilinos/Trilinos#12891

Co-authored-by: brian-kelley <brian.honda11@gmail.com>
  • Loading branch information
ndellingwood and brian-kelley committed Apr 5, 2024
1 parent 2e6d98d commit 5bf5474
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ inline void svd_print_specialization() {
} // namespace KokkosLapack

// LAPACK
#ifdef KOKKOSKERNELS_ENABLE_TPL_LAPACK
#if defined(KOKKOSKERNELS_ENABLE_TPL_LAPACK) && \
!defined(KOKKOSKERNELS_ENABLE_TPL_MKL)
#include "KokkosLapack_Host_tpl.hpp"

namespace KokkosLapack {
Expand Down

0 comments on commit 5bf5474

Please sign in to comment.