annotate src/fftw-3.3.5/tests/fftw-bench.h @ 56:af97cad61ff0

Add updated build of PortAudio for OSX
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 03 Jan 2017 15:10:52 +0000
parents 2cd0e3b3e1fd
children
rev   line source
Chris@42 1 /* declarations of common subroutines, etc. for use with FFTW
Chris@42 2 self-test/benchmark program (see bench.c). */
Chris@42 3
Chris@42 4 #include "bench-user.h"
Chris@42 5 #include "fftw3.h"
Chris@42 6
Chris@42 7 #define CONCAT(prefix, name) prefix ## name
Chris@42 8 #if defined(BENCHFFT_SINGLE)
Chris@42 9 #define FFTW(x) CONCAT(fftwf_, x)
Chris@42 10 #elif defined(BENCHFFT_LDOUBLE)
Chris@42 11 #define FFTW(x) CONCAT(fftwl_, x)
Chris@42 12 #elif defined(BENCHFFT_QUAD)
Chris@42 13 #define FFTW(x) CONCAT(fftwq_, x)
Chris@42 14 #else
Chris@42 15 #define FFTW(x) CONCAT(fftw_, x)
Chris@42 16 #endif
Chris@42 17
Chris@42 18 #ifdef __cplusplus
Chris@42 19 extern "C"
Chris@42 20 {
Chris@42 21 #endif /* __cplusplus */
Chris@42 22
Chris@42 23 extern FFTW(plan) mkplan(bench_problem *p, unsigned flags);
Chris@42 24 extern void initial_cleanup(void);
Chris@42 25 extern void final_cleanup(void);
Chris@42 26 extern int import_wisdom(FILE *f);
Chris@42 27 extern void export_wisdom(FILE *f);
Chris@42 28
Chris@42 29 #if defined(HAVE_THREADS) || defined(HAVE_OPENMP)
Chris@42 30 # define HAVE_SMP
Chris@42 31 extern int threads_ok;
Chris@42 32 #endif
Chris@42 33
Chris@42 34 #ifdef __cplusplus
Chris@42 35 } /* extern "C" */
Chris@42 36 #endif /* __cplusplus */
Chris@42 37