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