Skip to content

Commit

Permalink
Move Kokkos::{Impl:: -> }::ALL_t definition and add using-declaration…
Browse files Browse the repository at this point in the history
… in Impl:: namespace for backward compatibility
  • Loading branch information
dalg24 committed Jan 24, 2023
1 parent aeab5bd commit 7869915
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/impl/Kokkos_ViewMapping.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ struct ViewDimensionAssignable<ViewDimension<DstArgs...>,
//----------------------------------------------------------------------------

namespace Kokkos {
namespace Impl {

struct ALL_t {
KOKKOS_INLINE_FUNCTION
Expand All @@ -296,6 +295,8 @@ struct ALL_t {
constexpr bool operator==(const ALL_t&) const { return true; }
};

namespace Impl {
using Kokkos::ALL_t;
} // namespace Impl
} // namespace Kokkos

Expand Down

0 comments on commit 7869915

Please sign in to comment.