Skip to content

Commit

Permalink
Replace more occurences of Kokkos::Impl::is_view
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Dec 28, 2021
1 parent 331b396 commit 09b5477
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/batched/dense/impl/KokkosBatched_HadamardProduct_Impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ KOKKOS_INLINE_FUNCTION int SerialHadamardProduct::invoke(const XViewType& X,
const VViewType& V) {
#if (KOKKOSKERNELS_DEBUG_LEVEL > 0)
static_assert(
Kokkos::Impl::is_view<XViewType>::value,
Kokkos::is_view<XViewType>::value,
"KokkosBatched::HadamardProduct: XViewType is not a Kokkos::View.");
static_assert(
Kokkos::Impl::is_view<YViewType>::value,
Kokkos::is_view<YViewType>::value,
"KokkosBatched::HadamardProduct: YViewType is not a Kokkos::View.");
static_assert(
Kokkos::Impl::is_view<VViewType>::value,
Kokkos::is_view<VViewType>::value,
"KokkosBatched::HadamardProduct: VViewType is not a Kokkos::View.");
static_assert(XViewType::Rank == 2,
"KokkosBatched::HadamardProduct: XViewType must have rank 2.");
Expand Down Expand Up @@ -170,13 +170,13 @@ KOKKOS_INLINE_FUNCTION int TeamHadamardProduct<MemberType>::invoke(
const VViewType& V) {
#if (KOKKOSKERNELS_DEBUG_LEVEL > 0)
static_assert(
Kokkos::Impl::is_view<XViewType>::value,
Kokkos::is_view<XViewType>::value,
"KokkosBatched::HadamardProduct: XViewType is not a Kokkos::View.");
static_assert(
Kokkos::Impl::is_view<YViewType>::value,
Kokkos::is_view<YViewType>::value,
"KokkosBatched::HadamardProduct: YViewType is not a Kokkos::View.");
static_assert(
Kokkos::Impl::is_view<VViewType>::value,
Kokkos::is_view<VViewType>::value,
"KokkosBatched::HadamardProduct: VViewType is not a Kokkos::View.");
static_assert(XViewType::Rank == 2,
"KokkosBatched::HadamardProduct: XViewType must have rank 2.");
Expand Down Expand Up @@ -223,13 +223,13 @@ KOKKOS_INLINE_FUNCTION int TeamVectorHadamardProduct<MemberType>::invoke(
const VViewType& V) {
#if (KOKKOSKERNELS_DEBUG_LEVEL > 0)
static_assert(
Kokkos::Impl::is_view<XViewType>::value,
Kokkos::is_view<XViewType>::value,
"KokkosBatched::HadamardProduct: XViewType is not a Kokkos::View.");
static_assert(
Kokkos::Impl::is_view<YViewType>::value,
Kokkos::is_view<YViewType>::value,
"KokkosBatched::HadamardProduct: YViewType is not a Kokkos::View.");
static_assert(
Kokkos::Impl::is_view<VViewType>::value,
Kokkos::is_view<VViewType>::value,
"KokkosBatched::HadamardProduct: VViewType is not a Kokkos::View.");
static_assert(XViewType::Rank == 2,
"KokkosBatched::HadamardProduct: XViewType must have rank 2.");
Expand Down

0 comments on commit 09b5477

Please sign in to comment.