We are not permitted to distribute modified versions of this code (see the license information). If you wish to include this software in the benchmark, you must make some small modifications to the (included) original package, as described below:
Nielsen's original package is in the
c_source/mixfft
directory. To modify it for use with the benchmark, do the following things:
mixfft.c
to the
c_source
directory.
mixfft.c
to prevent
conflicts with other benchmark routines. This can be accomplished with
two search-and-replace operations:
fft(
" with "mixfft(
".
fft_
" with "mixfft_
".
#include <fftw.h>
" at the top of mixfft.c
double
" with
"FFTW_REAL
".
Makefile
so
that Nielsen's code will be used. (Or do the equivalent on systems
without make
.) This requires two changes:
# NIELSEN_OBJ = c_source/mixfft.o(i.e. remove the pound sign, "#").
-DUSE_NIELSEN
to BENCH_CFLAGS
. This
defines the preprocessor symbol USE_NIELSEN
, letting the
program know that it should benchmark the mixfft
subroutine.