From 1fd4a8590a4cce207c4bdb7fc39d2b5f59fd79d7 Mon Sep 17 00:00:00 2001 From: Thomas Padioleau Date: Wed, 9 Oct 2024 12:50:37 +0200 Subject: [PATCH] Fix typo manageable (#164) --- common/src/KokkosFFT_traits.hpp | 4 ++-- common/unit_test/Test_prep_transpose_view.cpp | 8 ++++---- fft/src/KokkosFFT_Transform.hpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/src/KokkosFFT_traits.hpp b/common/src/KokkosFFT_traits.hpp index bed49372..40ea21f7 100644 --- a/common/src/KokkosFFT_traits.hpp +++ b/common/src/KokkosFFT_traits.hpp @@ -240,9 +240,9 @@ struct base_container_value> { template using base_container_value_type = typename base_container_value::value_type; -/// \brief Helper to define a managable View type from the original view type +/// \brief Helper to define a manageable View type from the original view type template -struct managable_view_type { +struct manageable_view_type { using type = Kokkos::View::type; + typename KokkosFFT::Impl::manageable_view_type::type; using OutManagedViewType = - typename KokkosFFT::Impl::managable_view_type::type; + typename KokkosFFT::Impl::manageable_view_type::type; static_assert(!InManagedViewType::memory_traits::is_unmanaged, "Unable to get managed input view type"); static_assert(!OutManagedViewType::memory_traits::is_unmanaged, @@ -75,9 +75,9 @@ void test_unmanaged_prep_transpose_view() { "input and output have different ranks"); using InManagedViewType = - typename KokkosFFT::Impl::managable_view_type::type; + typename KokkosFFT::Impl::manageable_view_type::type; using OutManagedViewType = - typename KokkosFFT::Impl::managable_view_type::type; + typename KokkosFFT::Impl::manageable_view_type::type; static_assert(!InManagedViewType::memory_traits::is_unmanaged, "Unable to get managed input view type"); static_assert(!OutManagedViewType::memory_traits::is_unmanaged, diff --git a/fft/src/KokkosFFT_Transform.hpp b/fft/src/KokkosFFT_Transform.hpp index 964c3573..b4e6e52c 100644 --- a/fft/src/KokkosFFT_Transform.hpp +++ b/fft/src/KokkosFFT_Transform.hpp @@ -85,9 +85,9 @@ void fft_exec_impl( const auto exec_space = plan.exec_space(); using ManagableInViewType = - typename KokkosFFT::Impl::managable_view_type::type; + typename KokkosFFT::Impl::manageable_view_type::type; using ManagableOutViewType = - typename KokkosFFT::Impl::managable_view_type::type; + typename KokkosFFT::Impl::manageable_view_type::type; ManagableInViewType _in_s; InViewType _in; if (plan.is_crop_or_pad_needed()) {