Chris@82: This directory contains a benchmarking and testing program Chris@82: for fftw3. Chris@82: Chris@82: The `bench' program has a zillion options, because we use it for Chris@82: benchmarking other FFT libraries as well. This file only documents Chris@82: the basic usage of bench. Chris@82: Chris@82: Usage: bench Chris@82: Chris@82: where each command is as follows: Chris@82: Chris@82: -s Chris@82: --speed Chris@82: Chris@82: Benchmarks the speed of . Chris@82: Chris@82: The syntax for problems is [i|o][r|c][f|b], where Chris@82: Chris@82: i/o means in-place or out-of-place. Out of place is the default. Chris@82: r/c means real or complex transform. Complex is the default. Chris@82: f/b means forward or backward transform. Forward is the default. Chris@82: is an arbitrary multidimensional sequence of integers Chris@82: separated by the character 'x'. Chris@82: Chris@82: (The syntax for problems is actually richer, but we do not document Chris@82: it here. See the man page for fftw-wisdom for more information.) Chris@82: Chris@82: Example: Chris@82: Chris@82: ib256 : in-place backward complex transform of size 256 Chris@82: 32x64 : out-of-place forward complex 2D transform of 32 rows Chris@82: and 64 columns. Chris@82: Chris@82: -y Chris@82: --verify Chris@82: Chris@82: Verify that FFTW is computing the correct answer. Chris@82: Chris@82: The program does not output anything unless an error occurs or Chris@82: verbosity is at least one. Chris@82: Chris@82: -v Chris@82: Chris@82: Set verbosity to , or 1 if is omitted. -v2 will output Chris@82: the created plans with fftw_print_plan. Chris@82: Chris@82: -oestimate Chris@82: -opatient Chris@82: -oexhaustive Chris@82: Chris@82: Plan with FFTW_ESTIMATE, FFTW_PATIENT, or FFTW_EXHAUSTIVE, respectively. Chris@82: The default is FFTW_MEASURE. Chris@82: Chris@82: If you benchmark FFTW, please use -opatient. Chris@82: Chris@82: -onthreads=N Chris@82: Chris@82: Use N threads, if FFTW was compiled with --enable-threads. N Chris@82: must be a positive integer; the default is N=1. Chris@82: Chris@82: -onosimd Chris@82: Chris@82: Disable SIMD instructions (e.g. SSE or SSE2). Chris@82: Chris@82: -ounaligned Chris@82: Chris@82: Plan with the FFTW_UNALIGNED flag. Chris@82: Chris@82: -owisdom Chris@82: Chris@82: On startup, read wisdom from a file wis.dat in the current directory Chris@82: (if it exists). On completion, write accumulated wisdom to wis.dat Chris@82: (overwriting any existing file of that name).