cannam@127: cannam@127: cannam@127: cannam@127: cannam@127:
cannam@127:cannam@127: Previous: Forgetting Wisdom, Up: Wisdom [Contents][Index]
cannam@127:FFTW includes two standalone utility programs that deal with wisdom. We
cannam@127: merely summarize them here, since they come with their own man
cannam@127: pages for Unix and GNU systems (with HTML versions on our web site).
cannam@127:
The first program is fftw-wisdom
(or fftwf-wisdom
in
cannam@127: single precision, etcetera), which can be used to create a wisdom file
cannam@127: containing plans for any of the transform sizes and types supported by
cannam@127: FFTW. It is preferable to create wisdom directly from your executable
cannam@127: (see Caveats in Using Wisdom), but this program is useful for
cannam@127: creating global wisdom files for fftw_import_system_wisdom
.
cannam@127:
cannam@127:
The second program is fftw-wisdom-to-conf
, which takes a wisdom
cannam@127: file as input and produces a configuration routine as output. The
cannam@127: latter is a C subroutine that you can compile and link into your
cannam@127: program, replacing a routine of the same name in the FFTW library, that
cannam@127: determines which parts of FFTW are callable by your program.
cannam@127: fftw-wisdom-to-conf
produces a configuration routine that links
cannam@127: to only those parts of FFTW needed by the saved plans in the wisdom,
cannam@127: greatly reducing the size of statically linked executables (which should
cannam@127: only attempt to create plans corresponding to those in the wisdom,
cannam@127: however).
cannam@127:
cannam@127:
cannam@127: