Skip to content

Commit

Permalink
replace obsolete IMPATIENT with MEASURE
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Feb 25, 2006
1 parent e0e594b commit 579c413
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tools/fftw-wisdom.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ static struct my_option options[] =
{"output-file", REQARG, 'o'},

{"impatient", NOARG, 'i'},
{"measure", NOARG, 'm'},
{"estimate", NOARG, 'e'},
{"exhaustive", NOARG, 'x'},

Expand Down Expand Up @@ -108,7 +109,7 @@ static void help(FILE *f, const char *program_name)
" -c, --canonical: plan/optimize canonical set of sizes\n"
" -t <h>, --time-limit=<h>: time limit in hours (default: 0, no limit)\n"
" -o FILE, --output-file=FILE: output to FILE instead of stdout\n"
" -i, --impatient: plan in MEASURE mode (PATIENT is default)\n"
" -m, --measure: plan in MEASURE mode (PATIENT is default)\n"
" -e, --estimate: plan in ESTIMATE mode (not recommended)\n"
" -x, --exhaustive: plan in EXHAUSTIVE mode (may be slow)\n"
" -n, --no-system-wisdom: don't read /etc/fftw/ system wisdom file\n"
Expand Down Expand Up @@ -222,6 +223,7 @@ int bench_main(int argc, char *argv[])
}
break;

case 'm':
case 'i':
impatient = 1;
break;
Expand Down
4 changes: 2 additions & 2 deletions tools/fftw_wisdom.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ Send wisdom output to
.I file
rather than to standard output (the default).
.TP
\fB\-i\fR, \fB\--impatient\fR; \fB\-e\fR, \fB\--estimate\fR; \fB\-x\fR, \fB\--exhaustive\fR
\fB\-m\fR, \fB\--measure\fR; \fB\-e\fR, \fB\--estimate\fR; \fB\-x\fR, \fB\--exhaustive\fR
Normally,
.I fftw@PREC_SUFFIX@-wisdom
creates plans in FFTW_PATIENT mode, but with these options you can instead
use FFTW_IMPATIENT, FFTW_ESTIMATE, or FFTW_EXHAUSTIVE modes, respectively,
use FFTW_MEASURE, FFTW_ESTIMATE, or FFTW_EXHAUSTIVE modes, respectively,
as described in more detail by the FFTW manual.

Note that wisdom is tagged with the planning patience level, and a
Expand Down

0 comments on commit 579c413

Please sign in to comment.