From 770a30183d0d23b915ee60bdad4f23ee4de96ec4 Mon Sep 17 00:00:00 2001 From: Thomas Padioleau Date: Fri, 11 Oct 2024 15:39:40 +0200 Subject: [PATCH] Rely on default memory traits (#169) * Rely on default memory traits * Review from Yuuichi --- common/src/KokkosFFT_traits.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/src/KokkosFFT_traits.hpp b/common/src/KokkosFFT_traits.hpp index 40ea21f7..d9c1dda3 100644 --- a/common/src/KokkosFFT_traits.hpp +++ b/common/src/KokkosFFT_traits.hpp @@ -240,13 +240,12 @@ struct base_container_value> { template using base_container_value_type = typename base_container_value::value_type; -/// \brief Helper to define a manageable View type from the original view type +/// \brief Helper to define a managed View type from a managed or unmanaged +/// View type template struct manageable_view_type { using type = Kokkos::View>; + typename T::memory_space>; }; /// \brief Helper to define a complex 1D View type from a real/complex 1D View