From ce24b64eeb12ab46cc0c296f7f506fe6ae643c76 Mon Sep 17 00:00:00 2001 From: Maarten Arnst Date: Wed, 7 Feb 2024 08:24:59 +0100 Subject: [PATCH] Clarify nested namespace holding kk mkl implementation --- sparse/src/KokkosSparse_Utils_mkl.hpp | 2 +- sparse/tpls/KokkosSparse_spmv_bsrmatrix_tpl_spec_decl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sparse/src/KokkosSparse_Utils_mkl.hpp b/sparse/src/KokkosSparse_Utils_mkl.hpp index 7a8dd0cb22..d91065c7ac 100644 --- a/sparse/src/KokkosSparse_Utils_mkl.hpp +++ b/sparse/src/KokkosSparse_Utils_mkl.hpp @@ -63,7 +63,7 @@ inline void mkl_internal_safe_call(sparse_status_t mkl_status, const char *name, } #define KOKKOSKERNELS_MKL_SAFE_CALL(call) \ - KokkosSparse::Impl::mkl_internal_safe_call(call, #call, __FILE__, __LINE__) + ::KokkosSparse::Impl::mkl_internal_safe_call(call, #call, __FILE__, __LINE__) inline sparse_operation_t mode_kk_to_mkl(char mode_kk) { switch (toupper(mode_kk)) { diff --git a/sparse/tpls/KokkosSparse_spmv_bsrmatrix_tpl_spec_decl.hpp b/sparse/tpls/KokkosSparse_spmv_bsrmatrix_tpl_spec_decl.hpp index 75752190e7..a8ca7d446b 100644 --- a/sparse/tpls/KokkosSparse_spmv_bsrmatrix_tpl_spec_decl.hpp +++ b/sparse/tpls/KokkosSparse_spmv_bsrmatrix_tpl_spec_decl.hpp @@ -32,7 +32,7 @@ namespace Impl { #if (__INTEL_MKL__ > 2017) // MKL 2018 and above: use new interface: sparse_matrix_t and mkl_sparse_?_mv() -using KokkosSparse::Impl::mode_kk_to_mkl; +using ::KokkosSparse::Impl::mode_kk_to_mkl; inline matrix_descr getDescription() { matrix_descr A_descr;