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