Chris@19: Chris@19: Chris@19: Wisdom Utilities - FFTW 3.3.4 Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19:
Chris@19: Chris@19:

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


Chris@19:
Chris@19: Chris@19:

4.7.4 Wisdom Utilities

Chris@19: Chris@19:

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

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

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