mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-07-18 21:14:24 -04:00
added stride to fft input -- should simplify multi-dimensional FFTs
This commit is contained in:
@ -34,9 +34,10 @@ endif
|
||||
|
||||
all: $(BENCHKISS) $(SELFTEST) $(BENCHFFTW) $(TESTREAL) $(FFTUTIL) $(TESTKFC)
|
||||
|
||||
#CFLAGS=-Wall -O3 -ansi -pedantic -march=pentiumpro -ffast-math -fomit-frame-pointer
|
||||
CFLAGS=-Wall -O3 -pedantic -march=pentiumpro -ffast-math -fomit-frame-pointer
|
||||
#-DUSE_SKIP
|
||||
# If the above flags do not work, try the following
|
||||
CFLAGS=-Wall -O3
|
||||
#CFLAGS=-Wall -O3
|
||||
|
||||
$(FFTUTIL): ../kiss_fft.c fftutil.c kiss_fft2d.c kiss_fftr.c
|
||||
$(CC) -o $@ $(CFLAGS) -I.. $(TYPEFLAGS) -lm $+
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/times.h>
|
||||
#include <unistd.h>
|
||||
#include "kiss_fft.h"
|
||||
|
@ -26,6 +26,8 @@ double snr_compare( kiss_fft_cpx * test_vec_out,kiss_fft_cpx * testbuf, int n)
|
||||
return snr;
|
||||
}
|
||||
|
||||
void test_stride();
|
||||
|
||||
int main() { int exit_code=0;
|
||||
|
||||
#define NFFT 10
|
||||
@ -130,7 +132,7 @@ int main() { int exit_code=0;
|
||||
}
|
||||
#undef NFFT
|
||||
|
||||
|
||||
test_stride();
|
||||
return exit_code;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user