Skip to content

Commit

Permalink
mfix: ake internal tyypes of Plan class private
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Oct 15, 2024
1 parent 25a87ba commit caaf9ee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fft/src/KokkosFFT_Plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace KokkosFFT {
template <typename ExecutionSpace, typename InViewType, typename OutViewType,
std::size_t DIM = 1>
class Plan {
public:
private:
//! The type of Kokkos execution pace
using execSpace = ExecutionSpace;

Expand Down Expand Up @@ -273,6 +273,7 @@ class Plan {
///
/// \param in [in] Input data
/// \param out [out] Ouput data
/// \param norm [in] How the normalization is applied (default, backward)
void execute(const InViewType& in, const OutViewType& out,
KokkosFFT::Normalization norm =
KokkosFFT::Normalization::backward) const {
Expand Down Expand Up @@ -327,9 +328,6 @@ class Plan {
private:
void execute_fft(const InViewType& in, const OutViewType& out,
KokkosFFT::Normalization norm) const {
using in_value_type = typename InViewType::non_const_value_type;
using out_value_type = typename OutViewType::non_const_value_type;

auto* idata = reinterpret_cast<typename KokkosFFT::Impl::fft_data_type<
execSpace, in_value_type>::type*>(in.data());
auto* odata = reinterpret_cast<typename KokkosFFT::Impl::fft_data_type<
Expand Down

0 comments on commit caaf9ee

Please sign in to comment.