Skip to content

Commit

Permalink
Add maybe_unused for fftw backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Jul 4, 2024
1 parent eecc8cb commit 876287b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fft/src/KokkosFFT_OpenMP_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ auto _create(const ExecutionSpace& exec_space, std::unique_ptr<PlanType>& plan,

// For the moment, considering the contiguous layout only
int istride = 1, ostride = 1;
auto sign = KokkosFFT::Impl::direction_type<ExecutionSpace>(direction);
[[maybe_unused]] auto sign =
KokkosFFT::Impl::direction_type<ExecutionSpace>(direction);

plan = std::make_unique<PlanType>();
if constexpr (type == KokkosFFT::Impl::FFTWTransformType::R2C) {
Expand Down

0 comments on commit 876287b

Please sign in to comment.