Skip to content

Commit

Permalink
Fix typo manageable (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau authored Oct 9, 2024
1 parent 00b831d commit 1fd4a85
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions common/src/KokkosFFT_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ struct base_container_value<Kokkos::Array<ValueType, N>> {
template <typename T>
using base_container_value_type = typename base_container_value<T>::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 <typename T>
struct managable_view_type {
struct manageable_view_type {
using type = Kokkos::View<typename T::data_type, typename T::array_layout,
typename T::memory_space,
Kokkos::MemoryTraits<T::memory_traits::impl_value &
Expand Down
8 changes: 4 additions & 4 deletions common/unit_test/Test_prep_transpose_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ void test_managed_prep_transpose_view() {
"input and output have different ranks");

using InManagedViewType =
typename KokkosFFT::Impl::managable_view_type<InViewType>::type;
typename KokkosFFT::Impl::manageable_view_type<InViewType>::type;
using OutManagedViewType =
typename KokkosFFT::Impl::managable_view_type<OutViewType>::type;
typename KokkosFFT::Impl::manageable_view_type<OutViewType>::type;
static_assert(!InManagedViewType::memory_traits::is_unmanaged,
"Unable to get managed input view type");
static_assert(!OutManagedViewType::memory_traits::is_unmanaged,
Expand Down Expand Up @@ -75,9 +75,9 @@ void test_unmanaged_prep_transpose_view() {
"input and output have different ranks");

using InManagedViewType =
typename KokkosFFT::Impl::managable_view_type<InViewType>::type;
typename KokkosFFT::Impl::manageable_view_type<InViewType>::type;
using OutManagedViewType =
typename KokkosFFT::Impl::managable_view_type<OutViewType>::type;
typename KokkosFFT::Impl::manageable_view_type<OutViewType>::type;
static_assert(!InManagedViewType::memory_traits::is_unmanaged,
"Unable to get managed input view type");
static_assert(!OutManagedViewType::memory_traits::is_unmanaged,
Expand Down
4 changes: 2 additions & 2 deletions fft/src/KokkosFFT_Transform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ void fft_exec_impl(

const auto exec_space = plan.exec_space();
using ManagableInViewType =
typename KokkosFFT::Impl::managable_view_type<InViewType>::type;
typename KokkosFFT::Impl::manageable_view_type<InViewType>::type;
using ManagableOutViewType =
typename KokkosFFT::Impl::managable_view_type<OutViewType>::type;
typename KokkosFFT::Impl::manageable_view_type<OutViewType>::type;
ManagableInViewType _in_s;
InViewType _in;
if (plan.is_crop_or_pad_needed()) {
Expand Down

0 comments on commit 1fd4a85

Please sign in to comment.