annotate src/fftw-3.3.3/tools/fftwf-wisdom.1 @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents 37bf6b4a2645
children
rev   line source
Chris@10 1 .\"
Chris@10 2 .\" Copyright (c) 2003, 2007-11 Matteo Frigo
Chris@10 3 .\" Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
Chris@10 4 .\"
Chris@10 5 .\" This program is free software; you can redistribute it and/or modify
Chris@10 6 .\" it under the terms of the GNU General Public License as published by
Chris@10 7 .\" the Free Software Foundation; either version 2 of the License, or
Chris@10 8 .\" (at your option) any later version.
Chris@10 9 .\"
Chris@10 10 .\" This program is distributed in the hope that it will be useful,
Chris@10 11 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
Chris@10 12 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Chris@10 13 .\" GNU General Public License for more details.
Chris@10 14 .\"
Chris@10 15 .\" You should have received a copy of the GNU General Public License
Chris@10 16 .\" along with this program; if not, write to the Free Software
Chris@10 17 .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Chris@10 18 .\"
Chris@10 19 .TH FFTW-WISDOM 1 "February, 2003" "fftw" "fftw"
Chris@10 20 .SH NAME
Chris@10 21 fftwf-wisdom \- create wisdom (pre-optimized FFTs)
Chris@10 22 .SH SYNOPSIS
Chris@10 23 .B fftwf-wisdom
Chris@10 24 [\fIOPTION\fR]... [\fISIZE\fR]...
Chris@10 25 .SH DESCRIPTION
Chris@10 26 .PP
Chris@10 27 ." Add any additional description here
Chris@10 28 .I fftwf-wisdom
Chris@10 29 is a utility to generate FFTW
Chris@10 30 .B wisdom
Chris@10 31 files, which contain saved information about how to optimally compute
Chris@10 32 (Fourier) transforms of various sizes. FFTW is a free library to
Chris@10 33 compute discrete Fourier transforms in one or more dimensions, for
Chris@10 34 arbitrary sizes, and of both real and complex data, among other
Chris@10 35 related operations. More information on FFTW can be found at the FFTW
Chris@10 36 home page:
Chris@10 37 .I http://www.fftw.org
Chris@10 38
Chris@10 39 Programs using FFTW can be written to load wisdom from an arbitrary file,
Chris@10 40 string, or other source. Moreover, it is likely that many FFTW-using
Chris@10 41 programs will load the \fBsystem wisdom\fR file, which is stored in
Chris@10 42 .I /etc/fftw/wisdomf
Chris@10 43 by default.
Chris@10 44 .I fftwf-wisdom
Chris@10 45 can be used to create or add to such wisdom files. In its most
Chris@10 46 typical usage, the wisdom file can be created to pre-plan a canonical
Chris@10 47 set of sizes (see below) via:
Chris@10 48
Chris@10 49 .ce
Chris@10 50 fftwf-wisdom -v -c -o wisdomf
Chris@10 51
Chris@10 52 (this will take many hours, which can be limited by the
Chris@10 53 .B -t
Chris@10 54 option) and the output
Chris@10 55 .I wisdomf
Chris@10 56 file can then be copied (as root) to
Chris@10 57 .I /etc/fftw/
Chris@10 58 or whatever.
Chris@10 59
Chris@10 60 The
Chris@10 61 .I fftwf-wisdom
Chris@10 62 program normally writes the wisdom directly to standard output, but this
Chris@10 63 can be changed via the
Chris@10 64 .B -o
Chris@10 65 option, as in the example above.
Chris@10 66
Chris@10 67 If the system wisdom file
Chris@10 68 .I /etc/fftw/wisdomf
Chris@10 69 already exists, then
Chris@10 70 .I fftwf-wisdom
Chris@10 71 reads this existing wisdom (unless the
Chris@10 72 .B -n
Chris@10 73 option is specified) and outputs both the old wisdom and any
Chris@10 74 newly created wisdom. In this way, it can be used to add new transform
Chris@10 75 sizes to the existing system wisdom (or other wisdom file, with the
Chris@10 76 .B -w
Chris@10 77 option).
Chris@10 78 .SH SPECIFYING SIZES
Chris@10 79 Although a canonical set of sizes to optimize is specified by the
Chris@10 80 .B -c
Chris@10 81 option, the user can also specify zero or more non-canonical transform
Chris@10 82 sizes and types to optimize, via the
Chris@10 83 .I SIZE
Chris@10 84 arguments following the option flags. Alternatively, the sizes to
Chris@10 85 optimize can be read from standard input (whitespace-separated), if a
Chris@10 86 .I SIZE
Chris@10 87 argument of "-" is supplied.
Chris@10 88
Chris@10 89 Sizes are specified by the syntax:
Chris@10 90
Chris@10 91 .ce
Chris@10 92 <\fItype\fR><\fIinplace\fR><\fIdirection\fR><\fIgeometry\fR>
Chris@10 93
Chris@10 94 <\fItype\fR> is either \'c\' (complex), \'r\' (real, r2c/c2r), or
Chris@10 95 \'k\' (r2r, per-dimension kinds, specified in the geometry, below).
Chris@10 96
Chris@10 97 <\fIinplace\fR> is either \'i\' (in place) or \'o\' (out of place).
Chris@10 98
Chris@10 99 <\fIdirection\fR> is either \'f\' (forward) or \'b\' (backward). The
Chris@10 100 <\fIdirection\fR> should be omitted for \'k\' transforms, where it is
Chris@10 101 specified via the geometry instead.
Chris@10 102
Chris@10 103 <\fIgeometry\fR> is the size and dimensionality of the transform,
Chris@10 104 where different dimensions are separated by \'x\' (e.g. \'16x32\' for
Chris@10 105 a two-dimensional 16 by 32 transform). In the case of \'k\'
Chris@10 106 transforms, the size of each dimension is followed by a "type" string,
Chris@10 107 which can be one of f/b/h/e00/e01/e10/e11/o00/o01/o10/o11 for
Chris@10 108 R2HC/HC2R/DHT/REDFT00/.../RODFT11, respectively, as defined in the
Chris@10 109 FFTW manual.
Chris@10 110
Chris@10 111 For example, \'cif12x13x14\' is a three-dimensional 12 by 13 x 14
Chris@10 112 complex DFT operating in-place. \'rob65536\' is a one-dimensional
Chris@10 113 size-65536 out-of-place complex-to-real (backwards) transform
Chris@10 114 operating on Hermitian-symmetry input. \'ki10hx20e01\' is a
Chris@10 115 two-dimensional 10 by 20 r2r transform where the first dimension is a
Chris@10 116 DHT and the second dimension is an REDFT01 (DCT-III).
Chris@10 117
Chris@10 118 .SH OPTIONS
Chris@10 119 .TP
Chris@10 120 \fB\-h\fR, \fB\--help\fR
Chris@10 121 Display help on the command-line options and usage.
Chris@10 122 .TP
Chris@10 123 \fB\-V\fR, \fB\--version\fR
Chris@10 124 Print the version number and copyright information.
Chris@10 125 .TP
Chris@10 126 \fB\-v\fR, \fB\--verbose\fR
Chris@10 127 Verbose output. (You can specify this multiple times, or supply a numeric
Chris@10 128 argument greater than 1, to increase the verbosity level.) Note that the
Chris@10 129 verbose output will be mixed with the wisdom output (making it impossible
Chris@10 130 to import), unless you write the wisdom to a file via the
Chris@10 131 .B -o
Chris@10 132 option.
Chris@10 133 .TP
Chris@10 134 \fB\-c\fR, \fB\--canonical\fR
Chris@10 135 Optimize/pre-plan a canonical set of sizes: all powers of two and ten
Chris@10 136 up to 2^20 (1048576), including both real and complex, forward and
Chris@10 137 backwards, in-place and out-of-place transforms. Also includes two-
Chris@10 138 and three-dimensional transforms of equal-size dimensions
Chris@10 139 (e.g. 16x16x16).
Chris@10 140 .TP
Chris@10 141 \fB\-t\fR \fIhours\fR, \fB\--time-limit\fR=\fIhours\fR
Chris@10 142 Stop after a time of
Chris@10 143 .I hours
Chris@10 144 (hours) has elapsed, outputting accumulated wisdom. (The problems are planned
Chris@10 145 in increasing order of size.) Defaults to 0, indicating no time limit.
Chris@10 146 .TP
Chris@10 147 \fB\-o\fR \fIfile\fR, \fB\--output-file\fR=\fIfile\fR
Chris@10 148 Send wisdom output to
Chris@10 149 .I file
Chris@10 150 rather than to standard output (the default).
Chris@10 151 .TP
Chris@10 152 \fB\-m\fR, \fB\--measure\fR; \fB\-e\fR, \fB\--estimate\fR; \fB\-x\fR, \fB\--exhaustive\fR
Chris@10 153 Normally,
Chris@10 154 .I fftwf-wisdom
Chris@10 155 creates plans in FFTW_PATIENT mode, but with these options you can instead
Chris@10 156 use FFTW_MEASURE, FFTW_ESTIMATE, or FFTW_EXHAUSTIVE modes, respectively,
Chris@10 157 as described in more detail by the FFTW manual.
Chris@10 158
Chris@10 159 Note that wisdom is tagged with the planning patience level, and a
Chris@10 160 single file can mix different levels of wisdom (e.g. you can mostly
Chris@10 161 use the patient default, but plan a few sizes that you especially care
Chris@10 162 about in
Chris@10 163 .B --exhaustive
Chris@10 164 mode).
Chris@10 165 .TP
Chris@10 166 \fB\-n\fR, \fB\--no-system-wisdom\fR
Chris@10 167 Do not import the system wisdom from
Chris@10 168 .I /etc/fftw/wisdomf
Chris@10 169 (which is normally read by default).
Chris@10 170 .TP
Chris@10 171 \fB\-w\fR \fIfile\fR, \fB\--wisdom-file\fR=\fIfile\fR
Chris@10 172 Import wisdom from
Chris@10 173 .I file
Chris@10 174 (in addition to the system wisdom, unless
Chris@10 175 .B -n
Chris@10 176 is specified). Multiple wisdom files can be read via multiple
Chris@10 177 .B -w
Chris@10 178 options. If
Chris@10 179 .I file
Chris@10 180 is "-", then read wisdom from standard input.
Chris@10 181 .SH BUGS
Chris@10 182 Send bug reports to fftw@fftw.org.
Chris@10 183 .SH AUTHORS
Chris@10 184 Written by Steven G. Johnson and Matteo Frigo.
Chris@10 185
Chris@10 186 Copyright (c) 2003, 2007-11 Matteo Frigo
Chris@10 187 .br
Chris@10 188 Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
Chris@10 189 .SH "SEE ALSO"
Chris@10 190 fftw-wisdom-to-conf(1)