annotate src/fftw-3.3.5/tools/fftw_wisdom.1.in @ 169:223a55898ab9 tip default

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