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 3, 2024
1 parent c630d34 commit 15341de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fft/src/KokkosFFT_OpenMP_plans.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace KokkosFFT {
namespace Impl {
template <typename ExecutionSpace, typename T>
void _init_threads(const ExecutionSpace& exec_space) {
void _init_threads([[maybe_unused]] const ExecutionSpace& exec_space) {
#if defined(KOKKOS_ENABLE_OPENMP) || defined(KOKKOS_ENABLE_THREADS)
int nthreads = exec_space.concurrency();

Expand Down

0 comments on commit 15341de

Please sign in to comment.