cannam@95: cannam@95: cannam@95: Wisdom Utilities - FFTW 3.3.3 cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95:
cannam@95: cannam@95:

cannam@95: Previous: Forgetting Wisdom, cannam@95: Up: Wisdom cannam@95:


cannam@95:
cannam@95: cannam@95:

4.7.4 Wisdom Utilities

cannam@95: cannam@95:

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

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

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