Skip to content

Commit

Permalink
fixup! [deprecated code 3] remove using declaration in Kokkos::Experi…
Browse files Browse the repository at this point in the history
…mental:: for all math functions
  • Loading branch information
dalg24 committed Oct 18, 2023
1 parent 2e6765a commit 589ad55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/Kokkos_MathematicalFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ using promote_3_t = typename promote_3<T, U, V>::type;
KOKKOS_INLINE_FUNCTION std::enable_if_t<std::is_integral_v<T>, bool> FUNC( \
T x) { \
return ::FUNC(static_cast<double>(x)); \
} \
}
#else
#define KOKKOS_IMPL_MATH_UNARY_PREDICATE(FUNC) \
KOKKOS_INLINE_FUNCTION bool FUNC(float x) { \
Expand All @@ -155,7 +155,7 @@ using promote_3_t = typename promote_3<T, U, V>::type;
T x) { \
using KOKKOS_IMPL_MATH_FUNCTIONS_NAMESPACE::FUNC; \
return FUNC(static_cast<double>(x)); \
} \
}
#endif

#define KOKKOS_IMPL_MATH_BINARY_FUNCTION(FUNC) \
Expand Down

0 comments on commit 589ad55

Please sign in to comment.