Skip to content

Commit

Permalink
fix: set created
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Dec 4, 2024
1 parent 4806cfb commit 85dfbba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fft/src/KokkosFFT_FFTW_Types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ struct ScopedFFTWPlanType {
}

const plan_type &plan() const { return m_plan; }
void set_is_created() { m_is_created = true; }

private:
template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion fft/src/KokkosFFT_Host_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ auto create_plan(const ExecutionSpace& exec_space,
rank, fft_extents.data(), howmany, idata, in_extents.data(), istride,
idist, odata, out_extents.data(), ostride, odist, sign, FFTW_ESTIMATE);
}
plan->m_is_created;
plan->set_is_created();

return fft_size;
}
Expand Down

0 comments on commit 85dfbba

Please sign in to comment.