From 7869915c0896fd5331115af3c413d0f0dc40dd15 Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Tue, 24 Jan 2023 18:01:18 -0500 Subject: [PATCH] Move Kokkos::{Impl:: -> }::ALL_t definition and add using-declaration in Impl:: namespace for backward compatibility --- core/src/impl/Kokkos_ViewMapping.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/impl/Kokkos_ViewMapping.hpp b/core/src/impl/Kokkos_ViewMapping.hpp index 3ab8237cd1..b1c9e375b7 100644 --- a/core/src/impl/Kokkos_ViewMapping.hpp +++ b/core/src/impl/Kokkos_ViewMapping.hpp @@ -286,7 +286,6 @@ struct ViewDimensionAssignable, //---------------------------------------------------------------------------- namespace Kokkos { -namespace Impl { struct ALL_t { KOKKOS_INLINE_FUNCTION @@ -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