Skip to content

Commit

Permalink
cleanup: remove deprecated __KOKKOSBATCHED_ENABLE_INTEL_MKL__
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Pearson <[email protected]>
  • Loading branch information
cwpearson committed Dec 3, 2024
1 parent 78f4efd commit 33ace27
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions batched/KokkosBatched_Util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,7 @@

// TPL macros
#if defined(KOKKOSKERNELS_ENABLE_TPL_MKL)

#if defined(KOKKOS_COMPILER_MSVC)
#define KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL \
(__pragma( \
message("warning: __KOKKOSBATCHED_ENABLE_INTEL_MKL__ is deprecated and will be removed in a future version")) 1)
#elif defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG)
#define KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL \
(__extension__({ \
_Pragma("warning: __KOKKOSBATCHED_ENABLE_INTEL_MKL__ is deprecated and will be removed in a future version"); \
1; \
}))
#else
#define KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL 1 // no good way to deprecate?
#endif
#define __KOKKOSBATCHED_ENABLE_INTEL_MKL__ KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL
#define KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL 1

#include "mkl_version.h"
#if __INTEL_MKL__ >= 2018
Expand Down

0 comments on commit 33ace27

Please sign in to comment.