annotate fft/fftw/fftw-3.3.4/tools/fftw-wisdom-to-conf.1 @ 40:223f770b5341 kissfft-double tip

Try a double-precision kissfft
author Chris Cannam
date Wed, 07 Sep 2016 10:40:32 +0100
parents 26056e866c29
children
rev   line source
Chris@19 1 .\"
Chris@19 2 .\" Copyright (c) 2003, 2007-14 Matteo Frigo
Chris@19 3 .\" Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
Chris@19 4 .\"
Chris@19 5 .\" This program is free software; you can redistribute it and/or modify
Chris@19 6 .\" it under the terms of the GNU General Public License as published by
Chris@19 7 .\" the Free Software Foundation; either version 2 of the License, or
Chris@19 8 .\" (at your option) any later version.
Chris@19 9 .\"
Chris@19 10 .\" This program is distributed in the hope that it will be useful,
Chris@19 11 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
Chris@19 12 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Chris@19 13 .\" GNU General Public License for more details.
Chris@19 14 .\"
Chris@19 15 .\" You should have received a copy of the GNU General Public License
Chris@19 16 .\" along with this program; if not, write to the Free Software
Chris@19 17 .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Chris@19 18 .\"
Chris@19 19 .TH FFTW-WISDOM-TO-CONF 1 "February, 2003" "fftw" "fftw"
Chris@19 20 .SH NAME
Chris@19 21 fftw\-wisdom\-to\-conf \- generate FFTW wisdom (pre-planned transforms)
Chris@19 22 .SH SYNOPSIS
Chris@19 23 \fBfftw\-wisdom\-to\-conf\fR [< \fIINPUT\fR] [> \fIOUTPUT\fR]
Chris@19 24 .SH DESCRIPTION
Chris@19 25 .PP
Chris@19 26 .\" Add any additional description here
Chris@19 27 .I fftw\-wisdom\-to\-conf
Chris@19 28 is a utility to generate C
Chris@19 29 .B configuration
Chris@19 30 routines from FFTW
Chris@19 31 .B wisdom
Chris@19 32 files, where the latter contain saved information about how to
Chris@19 33 optimally compute (Fourier) transforms of various sizes. A
Chris@19 34 configuration routine is a C subroutine that you link into your
Chris@19 35 program, replacing a routine of the same name in the FFTW library,
Chris@19 36 that determines which parts of FFTW are callable by your program.
Chris@19 37
Chris@19 38 The reason to do this is that, if you only need transforms of a
Chris@19 39 limited set of sizes and types, and if you are statically linking your
Chris@19 40 program, then using a configuration file generated from wisdom for
Chris@19 41 those types can substantially reduce the size of your executable.
Chris@19 42 (Otherwise, because of FFTW's dynamic nature, all of FFTW's transform
Chris@19 43 code must be linked into any program using FFTW.)
Chris@19 44
Chris@19 45 FFTW is a free library to compute discrete Fourier transforms in one
Chris@19 46 or more dimensions, for arbitrary sizes, and of both real and complex
Chris@19 47 data, among other related operations. More information on FFTW can be
Chris@19 48 found at the FFTW home page:
Chris@19 49 .I http://www.fftw.org
Chris@19 50
Chris@19 51 .I fftw\-wisdom\-to\-conf
Chris@19 52 reads wisdom from standard input and writes the configuration to
Chris@19 53 standard output. It can easily be combined with the
Chris@19 54 .I fftw\-wisdom
Chris@19 55 tool, for example:
Chris@19 56
Chris@19 57 fftw\-wisdom \-n \-o wisdom cof1024 cob1024
Chris@19 58 .br
Chris@19 59 fftw\-wisdom\-to\-conf < wisdom > conf.c
Chris@19 60
Chris@19 61 will create a configuration "conf.c" containing only those parts of
Chris@19 62 FFTW needed for the optimized complex forwards and backwards
Chris@19 63 out-of-place transforms of size 1024 (also saving the wisdom itself in
Chris@19 64 "wisdom").
Chris@19 65
Chris@19 66 Alternatively, you can run your actual program, export wisdom for all
Chris@19 67 plans that were created (ideally in FFTW_PATIENT or FFTW_EXHAUSTIVE
Chris@19 68 mode), use this as input for \fIfftw\-wisdom\-to\-conf\fR,
Chris@19 69 and then re-link your program with the resulting configuration routine.
Chris@19 70
Chris@19 71 Note that the configuration routine does not contain the wisdom, only
Chris@19 72 the routines necessary to implement the wisdom, so your program should
Chris@19 73 also import the wisdom in order to benefit from the pre-optimized
Chris@19 74 plans.
Chris@19 75 .SH OPTIONS
Chris@19 76 .TP
Chris@19 77 \fB\-h\fR, \fB\-\-help\fR
Chris@19 78 Display help on the command-line options and usage.
Chris@19 79 .TP
Chris@19 80 \fB\-V\fR, \fB\-\-version\fR
Chris@19 81 Print the version number and copyright information.
Chris@19 82 .SH BUGS
Chris@19 83 Send bug reports to fftw@fftw.org.
Chris@19 84 .SH AUTHORS
Chris@19 85 Written by Steven G. Johnson and Matteo Frigo.
Chris@19 86
Chris@19 87 Copyright (c) 2003, 2007-14 Matteo Frigo
Chris@19 88 .br
Chris@19 89 Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
Chris@19 90 .SH "SEE ALSO"
Chris@19 91 fftw-wisdom(1)