aboutsummaryrefslogtreecommitdiff
path: root/test_pffft.c
AgeCommit message (Collapse)Author
2020-04-13bugfix and lots of rework and some enhancementshayati ayguen
* fix compilation when deactivating SIMD with cmake options * cmake: replaced 'USE_AVX' option by 'USE_DOUBLE' (and 'USE_FLOAT') * cmake: option 'USE_SCALVEC', fixed big precision errors in test_pffastconv * cmake: renamed options to be sorted by 'group' in ccmake * added API function pffft_simd_arch() * pffft_bench for float and double double uses fftw3 for comparison * moved all simd macro files into subfolder * fix buffer overrun of acCsvFilename[] in bench_pffft.c Signed-off-by: hayati ayguen <h_ayguen@web.de>
2020-03-29bugfixes and new helper functions for retrospection and allocationhayati ayguen
* bugfix test_pffft.cpp: missing free * bugfix test_pffft.cpp: normalization of inverse() was on wrong index or variable * retrospection - wrapper class with typedef to initial template type - static helpers: isComplexTransform(), isFloatScalar() and isDoubleScalar() * allocation helpers: - member helpers: getSpectrumSize(), getInternalLayoutSize() and allocateOrigin(), allocateSpectrum() and allocateInternalLayout() * test_pffft float/double/cpp: float/double: use/test unordered pffft_transform() for inverse cpp: use/test inverseInternalLayout() when not useOrdered Signed-off-by: hayati ayguen <h_ayguen@web.de>
2020-03-29removed most gcc extensions in source - but still requiredhayati ayguen
* replaced the c++ style '//' comments * added explicit math defines M_PI, .. - if not already defined * gcc function (inline) attributes still require the extensions :-( Signed-off-by: hayati ayguen <h_ayguen@web.de>
2020-02-29minor additions and bugfix convolution benchmarkhayati ayguen
* added pffft_zconvolve_no_accu() * added pffft_min_fft_size() * pffft_next_power_of_two(), pffft_is_power_of_two() * added option PFFASTCONV_CORRELATION * fixed calculation of procSmpPerSec[] in test_pffastconv.c * minor test additions Signed-off-by: hayati ayguen <h_ayguen@web.de>
2020-01-10add PFFASTCONV library and test + benchhayati ayguen
* API for fast convolution: pffastconv.h * move simd macros from pffft.c into pfsimd_macros.h for reusability Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-28rename test_pffft.c into bench_pffft.chayati ayguen
Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-27cmake support for cmake-2.8 (CentOS-7)hayati ayguen
Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-27benchmark relative to ordererd pffft, calibrate and speed up test durationhayati ayguen
* renamed existing pffft benchmark to "-U" for unordered * added pffft ordered benchmark * stop benchmark after 150 ms per fft algorithm Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-25output additional csv files: num_iters, mflops. added plots. more ..hayati ayguen
* simplified usage of other gcc compiler versions Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-25added generation of gnuplot figures as pseudo-ctest; +bench_all.shhayati ayguen
* test_pffft now produces .csv files directly * automatic compilation/testing and plots with bench_all.sh Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-25fix benchmark table outputhayati ayguen
* bugfix table output header names detailed output of pffft algorithm in header (simd/scalar) * use table output as default; added command line option '--no-tab' * add execution of benchmark as ctest Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-23added kissfft and greenffts to benchmarks .. with cmake optionshayati ayguen
* added kissfft as git submodule * added greenfft as git submodule * enhanced test_pffft.c to output csv tables .. suitable to generate plots Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-12-23merge support for 64-bit arm (the preprocessor tests had to be fixed) + ↵hayati ayguen
benchmark on ipad air 2 merge from https://bitbucket.org/jpommier/pffft/src/default/ Signed-off-by: hayati ayguen <h_ayguen@web.de>
2013-01-12fixed a bug in real ffts for N multiple of 25; work around a compiler bug ↵Julien Pommier
with clang 3.2 for arm on linux
2012-10-13fix benchmark outputJulien Pommier
2012-10-11added code for handling sizes multiples of 5Julien Pommier
2011-11-28bench updateJulien Pommier
2011-11-20benchmarks addedJulien Pommier
2011-11-19initial commitJulien Pommier