diff options
author | 2021-06-30 15:34:58 -0700 | |
---|---|---|
committer | 2021-06-30 15:34:58 -0700 | |
commit | f428f5a26f11d715f1b8800e60f0b29154ce10a6 (patch) | |
tree | 7f8183fa37fcfb4b08cb57400d11957561b08d93 /Source/FieldSolver/SpectralSolver/SpectralSolver.cpp | |
parent | add16de9cb37c5c466db492512a495809d6ddded (diff) | |
download | WarpX-f428f5a26f11d715f1b8800e60f0b29154ce10a6.tar.gz WarpX-f428f5a26f11d715f1b8800e60f0b29154ce10a6.tar.zst WarpX-f428f5a26f11d715f1b8800e60f0b29154ce10a6.zip |
Add OpenMP for FFTW (#2040)
* CMake: Find out if FFTW supports OpenMP
Add a heuristics that also works with PkgConfig to query
OpenMP support in FFTW. Enable by default if we build with the
OpenMP compute backend unless explicitly disabled.
Add a macro to control the source-code, since FFTW does not offer
a public define for this.
* FFTW: Initialize Threads
Co-authored-by: Severin Diederichs <severin.diederichs@desy.de>
Co-authored-by: Severin Diederichs <severin.diederichs@desy.de>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolver.cpp')
0 files changed, 0 insertions, 0 deletions