Chris@10: Chris@10: Chris@10: Wisdom Utilities - FFTW 3.3.3 Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10:
Chris@10: Chris@10:

Chris@10: Previous: Forgetting Wisdom, Chris@10: Up: Wisdom Chris@10:


Chris@10:
Chris@10: Chris@10:

4.7.4 Wisdom Utilities

Chris@10: Chris@10:

FFTW includes two standalone utility programs that deal with wisdom. We Chris@10: merely summarize them here, since they come with their own man Chris@10: pages for Unix and GNU systems (with HTML versions on our web site). Chris@10: Chris@10:

The first program is fftw-wisdom (or fftwf-wisdom in Chris@10: single precision, etcetera), which can be used to create a wisdom file Chris@10: containing plans for any of the transform sizes and types supported by Chris@10: FFTW. It is preferable to create wisdom directly from your executable Chris@10: (see Caveats in Using Wisdom), but this program is useful for Chris@10: creating global wisdom files for fftw_import_system_wisdom. Chris@10: Chris@10: Chris@10:

The second program is fftw-wisdom-to-conf, which takes a wisdom Chris@10: file as input and produces a configuration routine as output. The Chris@10: latter is a C subroutine that you can compile and link into your Chris@10: program, replacing a routine of the same name in the FFTW library, that Chris@10: determines which parts of FFTW are callable by your program. Chris@10: fftw-wisdom-to-conf produces a configuration routine that links Chris@10: to only those parts of FFTW needed by the saved plans in the wisdom, Chris@10: greatly reducing the size of statically linked executables (which should Chris@10: only attempt to create plans corresponding to those in the wisdom, Chris@10: however). Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: