Skip to content

Commit

Permalink
cleanup: remove deprecated __KOKKOSBATCHED_ENABLE_INTEL_MKL_BATCHED__
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Dec 3, 2024
1 parent 78f4efd commit 233dd1e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions batched/KokkosBatched_Util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,7 @@

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

#if defined(KOKKOS_COMPILER_MSVC)
#define KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL_BATCHED \
(__pragma(message( \
"warning: __KOKKOSBATCHED_ENABLE_INTEL_MKL_BATCHED__ 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_BATCHED \
(__extension__({ \
_Pragma( \
"warning: __KOKKOSBATCHED_ENABLE_INTEL_MKL_BATCHED__ is deprecated and will be removed in a future version"); \
1; \
}))
#else
#define KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL_BATCHED 1 // no good way to deprecate?
#endif
#define __KOKKOSBATCHED_ENABLE_INTEL_MKL_BATCHED__ KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL_BATCHED

#define KOKKOSBATCHED_IMPL_ENABLE_INTEL_MKL_BATCHED 1
#define __KOKKOSBATCHED_ENABLE_INTEL_MKL_COMPACT_BATCHED__ 1
#include "mkl.h"
// #include "mkl_types.h"
Expand Down

0 comments on commit 233dd1e

Please sign in to comment.