Skip to content

Commit

Permalink
Make in_tmp Managed
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Oct 30, 2024
1 parent 4d1d582 commit d51e33c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fft/src/KokkosFFT_Plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,10 @@ class Plan {
using ManagableOutViewType =
typename KokkosFFT::Impl::manageable_view_type<OutViewType>::type;

InViewType in_tmp;
// FIXME in_tmp should be in InViewType,
// We will merge crop_or_pad and transpose, and remove the need for in_tmp
// InViewType in_tmp;
ManagableInViewType in_tmp;
if (m_is_crop_or_pad_needed) {
using LayoutType = typename ManagableInViewType::array_layout;
ManagableInViewType const in_s(
Expand Down

0 comments on commit d51e33c

Please sign in to comment.