annotate src/fftw-3.3.5/tools/fftw-wisdom-to-conf.1 @ 152:ffc6df9c760c

List of exclusions from the appimage repo
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 28 Jun 2018 15:29:59 +0100
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-TO-CONF 1 "February, 2003" "fftw" "fftw"
cannam@127 20 .SH NAME
cannam@127 21 fftw\-wisdom\-to\-conf \- generate FFTW wisdom (pre-planned transforms)
cannam@127 22 .SH SYNOPSIS
cannam@127 23 \fBfftw\-wisdom\-to\-conf\fR [< \fIINPUT\fR] [> \fIOUTPUT\fR]
cannam@127 24 .SH DESCRIPTION
cannam@127 25 .PP
cannam@127 26 .\" Add any additional description here
cannam@127 27 .I fftw\-wisdom\-to\-conf
cannam@127 28 is a utility to generate C
cannam@127 29 .B configuration
cannam@127 30 routines from FFTW
cannam@127 31 .B wisdom
cannam@127 32 files, where the latter contain saved information about how to
cannam@127 33 optimally compute (Fourier) transforms of various sizes. A
cannam@127 34 configuration routine is a C subroutine that you link into your
cannam@127 35 program, replacing a routine of the same name in the FFTW library,
cannam@127 36 that determines which parts of FFTW are callable by your program.
cannam@127 37
cannam@127 38 The reason to do this is that, if you only need transforms of a
cannam@127 39 limited set of sizes and types, and if you are statically linking your
cannam@127 40 program, then using a configuration file generated from wisdom for
cannam@127 41 those types can substantially reduce the size of your executable.
cannam@127 42 (Otherwise, because of FFTW's dynamic nature, all of FFTW's transform
cannam@127 43 code must be linked into any program using FFTW.)
cannam@127 44
cannam@127 45 FFTW is a free library to compute discrete Fourier transforms in one
cannam@127 46 or more dimensions, for arbitrary sizes, and of both real and complex
cannam@127 47 data, among other related operations. More information on FFTW can be
cannam@127 48 found at the FFTW home page:
cannam@127 49 .I http://www.fftw.org
cannam@127 50
cannam@127 51 .I fftw\-wisdom\-to\-conf
cannam@127 52 reads wisdom from standard input and writes the configuration to
cannam@127 53 standard output. It can easily be combined with the
cannam@127 54 .I fftw\-wisdom
cannam@127 55 tool, for example:
cannam@127 56
cannam@127 57 fftw\-wisdom \-n \-o wisdom cof1024 cob1024
cannam@127 58 .br
cannam@127 59 fftw\-wisdom\-to\-conf < wisdom > conf.c
cannam@127 60
cannam@127 61 will create a configuration "conf.c" containing only those parts of
cannam@127 62 FFTW needed for the optimized complex forwards and backwards
cannam@127 63 out-of-place transforms of size 1024 (also saving the wisdom itself in
cannam@127 64 "wisdom").
cannam@127 65
cannam@127 66 Alternatively, you can run your actual program, export wisdom for all
cannam@127 67 plans that were created (ideally in FFTW_PATIENT or FFTW_EXHAUSTIVE
cannam@127 68 mode), use this as input for \fIfftw\-wisdom\-to\-conf\fR,
cannam@127 69 and then re-link your program with the resulting configuration routine.
cannam@127 70
cannam@127 71 Note that the configuration routine does not contain the wisdom, only
cannam@127 72 the routines necessary to implement the wisdom, so your program should
cannam@127 73 also import the wisdom in order to benefit from the pre-optimized
cannam@127 74 plans.
cannam@127 75 .SH OPTIONS
cannam@127 76 .TP
cannam@127 77 \fB\-h\fR, \fB\-\-help\fR
cannam@127 78 Display help on the command-line options and usage.
cannam@127 79 .TP
cannam@127 80 \fB\-V\fR, \fB\-\-version\fR
cannam@127 81 Print the version number and copyright information.
cannam@127 82 .SH BUGS
cannam@127 83 Send bug reports to fftw@fftw.org.
cannam@127 84 .SH AUTHORS
cannam@127 85 Written by Steven G. Johnson and Matteo Frigo.
cannam@127 86
cannam@127 87 Copyright (c) 2003, 2007-14 Matteo Frigo
cannam@127 88 .br
cannam@127 89 Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
cannam@127 90 .SH "SEE ALSO"
cannam@127 91 fftw-wisdom(1)