Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fftw_planner_nthreads #526

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/finufft/fftw_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
// macro to prepend fftw_ (for double) or fftwf_ (for single) to a string
// without a space. The 2nd level of indirection is needed for safety, see:
// https://isocpp.org/wiki/faq/misc-technical-issues#macros-with-token-pasting
#define FFTWIFY_UNSAFE(x) fftwf_##x

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, Off, Debug, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, On, Release, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, On, Release, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, On, Debug, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, Off, Debug, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, Off, Release, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, On, Debug, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, Off, Debug, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, Off, Release, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, Off, Release, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, On, Release, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?

Check failure on line 17 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, On, Debug, gcc, g++, Off)

‘fftwf_planner_nthreads’ was not declared in this scope; did you mean ‘fftwf_plan_with_nthreads’?
#else
#define FFTWIFY_UNSAFE(x) fftw_##x

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, Off, Debug, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, On, Release, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, On, Release, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, On, Debug, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, Off, Debug, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, native, Off, Release, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, On, Debug, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, Off, Debug, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, Off, Release, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=x86-64, Off, Release, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, On, Release, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?

Check failure on line 19 in include/finufft/fftw_defs.h

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, gcc, -march=native, On, Debug, gcc, g++, Off)

‘fftw_planner_nthreads’ was not declared in this scope; did you mean ‘fftw_plan_with_nthreads’?
#endif
#define FFTWIFY(x) FFTWIFY_UNSAFE(x)
// now use this tool (note we replaced typedefs v<=2.0.4, in favor of macros):
Expand All @@ -38,11 +38,15 @@
#define FFTW_INIT FFTWIFY(init_threads)
#define FFTW_PLAN_TH FFTWIFY(plan_with_nthreads)
#define FFTW_CLEANUP_THREADS FFTWIFY(cleanup_threads)
#define FFTW_GET_NTHREADS FFTWIFY(planner_nthreads)
#define FFTW_PLAN_SF FFTWIFY(make_planner_thread_safe)
#else
// no OMP (no fftw{f}_threads or _omp), need dummy fftw threads calls...
#define FFTW_INIT()
#define FFTW_PLAN_TH(x)
#define FFTW_CLEANUP_THREADS()
#define FFTW_GET_NTHREADS()
#define FFTW_PLAN_SF()
#endif

#endif // FFTW_DEFS_H
3 changes: 3 additions & 0 deletions src/finufft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@
std::lock_guard<std::mutex> lock(fftw_lock);
if (!did_fftw_init) {
FFTW_INIT(); // setup FFTW global state; should only do once
FFTW_PLAN_SF();
did_fftw_init = true; // ensure other FINUFFT threads don't clash
}
}
Expand Down Expand Up @@ -760,10 +761,12 @@
// set it just for our one plan and then revert to the user value.
// Unfortunately fftw_planner_nthreads wasn't introduced until fftw 3.3.9, and
// there isn't a convenient mechanism to probe the version
int prev_nthr_fft = FFTW_GET_NTHREADS();

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Release, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Release, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Debug, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Debug, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Debug, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Debug, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, On, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Release, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Release, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=x86-64, Off, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Release, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Release, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Debug, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Debug, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, On, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Release, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Release, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Debug, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Debug, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, -march=native, Off, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Debug, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Debug, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Release, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Release, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, Off, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Release, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Release, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Release, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Debug, clang, clang++, Off)

use of undeclared identifier 'fftwf_planner_nthreads'; did you mean 'fftwf_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Debug, clang, clang++, Off)

use of undeclared identifier 'fftw_planner_nthreads'; did you mean 'fftw_cleanup_threads'?

Check failure on line 764 in src/finufft.cpp

View workflow job for this annotation

GitHub Actions / cmake-ci (ubuntu-22.04, llvm, native, On, Debug, clang, clang++, Off)

cannot initialize a variable of type 'int' with an rvalue of type 'void'
FFTW_PLAN_TH(nthr_fft);
p->fftwPlan = FFTW_PLAN_MANY_DFT(dim, ns, p->batchSize, (FFTW_CPX *)p->fwBatch,
NULL, 1, p->nf, (FFTW_CPX *)p->fwBatch, NULL, 1,
p->nf, p->fftSign, p->opts.fftw);
FFTW_PLAN_TH(prev_nthr_fft);
}
if (p->opts.debug)
printf("[%s] FFTW plan (mode %d, nthr=%d):\t%.3g s\n", __func__, p->opts.fftw,
Expand Down
Loading