Skip to content

Commit

Permalink
Drop anonymous namespace around definitions of ALL, WithoutInitializi…
Browse files Browse the repository at this point in the history
…ng, and AllowPadding
  • Loading branch information
dalg24 committed Jan 24, 2023
1 parent e91f7e8 commit 4519e4c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions core/src/Kokkos_View.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,17 +494,11 @@ constexpr bool is_assignable(const Kokkos::View<ViewTDst...>& dst,

namespace Kokkos {

namespace {
inline constexpr Kokkos::ALL_t ALL{};

constexpr Kokkos::ALL_t ALL = Kokkos::ALL_t();
inline constexpr Kokkos::Impl::WithoutInitializing_t WithoutInitializing{};

constexpr Kokkos::Impl::WithoutInitializing_t WithoutInitializing =
Kokkos::Impl::WithoutInitializing_t();

constexpr Kokkos::Impl::AllowPadding_t AllowPadding =
Kokkos::Impl::AllowPadding_t();

} // namespace
inline constexpr Kokkos::Impl::AllowPadding_t AllowPadding{};

/** \brief Create View allocation parameter bundle from argument list.
*
Expand Down

0 comments on commit 4519e4c

Please sign in to comment.