Lines Matching refs:cplx

275 void pffft_validate_N(int N, int cplx) {
279 int Nfloat = N*(cplx?2:1);
282 PFFFT_SETUP *s = PFFFT_FUNC(new_setup)(N, cplx ? PFFFT_COMPLEX : PFFFT_REAL);
304 if (!cplx) {
356 printf("%s forward PFFFT mismatch found for N=%d\n", (cplx?"CPLX":"REAL"), N);
373 … printf("pass=%d, %s IFFFT does not match for N=%d\n", pass, (cplx?"CPLX":"REAL"), N); break;
390 if (cplx || k > 0) {
411 printf("%s PFFFT is OK for N=%d\n", (cplx?"CPLX":"REAL"), N); fflush(stdout);
423 void pffft_validate(int cplx) {
428 if (N == 16 && !cplx) continue;
429 pffft_validate_N(N, cplx);
454 double show_output(const char *name, int N, int cplx, float flops, float t0, float t1, int max_iter…
464 …printf("N=%5d, %s %16s : %6.0f MFlops [t=%6.0f ns, %d runs]\n", N, (cplx?"CPLX":"REAL"), name, mfl…
471 double cal_benchmark(int N, int cplx) {
473 int Nfloat = (cplx ? N*2 : N);
485 PFFFT_SETUP *s = PFFFT_FUNC(new_setup)(N, cplx ? PFFFT_COMPLEX : PFFFT_REAL);
510 void benchmark_ffts(int N, int cplx, int withFFTWfullMeas, double iterCal, double tmeas[NUM_TYPES][…
516 int Nfloat = (cplx ? MAX(nextPow2N, pffftPow2N)*2 : MAX(nextPow2N, pffftPow2N));
549 Nmax = (cplx ? N*2 : N);
555 if (cplx) cffti(N, wrk);
562 if (cplx) {
582 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
586 …tmeas[TYPE_DUR_NS][ALGO_FFTPACK] = show_output("FFTPack", N, cplx, flops, t0, t1, max_iter, tableF…
593 Nmax = (cplx ? nextPow2N*2 : nextPow2N);
608 if (cplx) {
627 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
631 …tmeas[TYPE_DUR_NS][ALGO_VECLIB] = show_output("vDSP", N, cplx, flops, t0, t1, max_iter, tableFile);
635 show_output("vDSP", N, cplx, -1, -1, -1, -1, tableFile);
640 Nmax = (cplx ? N*2 : N);
651 if (cplx) {
678 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
682 … FFTW_MEASURE ? algoName[ALGO_FFTW_AUTO] : algoName[ALGO_FFTW_ESTIM]), N, cplx, flops, t0, t1, max…
686 Nmax = (cplx ? N*2 : N);
699 … FFTW_MEASURE ? algoName[ALGO_FFTW_AUTO] : algoName[ALGO_FFTW_ESTIM]), N, cplx, -1, -1, -1, -1, ta…
711 if (cplx) {
738 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
742 … FFTW_MEASURE ? algoName[ALGO_FFTW_AUTO] : algoName[ALGO_FFTW_ESTIM]), N, cplx, flops, t0, t1, max…
752 Nmax = (cplx ? nextPow2N*2 : nextPow2N);
764 if (cplx) {
782 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
786 …tmeas[TYPE_DUR_NS][ALGO_GREEN] = show_output("Green", N, cplx, flops, t0, t1, max_iter, tableFile);
790 show_output("Green", N, cplx, -1, -1, -1, -1, tableFile);
795 Nmax = (cplx ? nextPow2N*2 : nextPow2N);
805 if (cplx) {
818 if (cplx) {
838 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
842 … tmeas[TYPE_DUR_NS][ALGO_KISS] = show_output("Kiss", N, cplx, flops, t0, t1, max_iter, tableFile);
846 show_output("Kiss", N, cplx, -1, -1, -1, -1, tableFile);
852 Nmax = (cplx ? nextPow2N*2 : nextPow2N);
860 if (cplx) {
871 if (cplx) {
893 if (cplx) {
899 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
903 …tmeas[TYPE_DUR_NS][ALGO_POCKET] = show_output("Pocket", N, cplx, flops, t0, t1, max_iter, tableFil…
907 show_output("Pocket", N, cplx, -1, -1, -1, -1, tableFile);
913 Nmax = (cplx ? pffftPow2N*2 : pffftPow2N);
915 if ( pffftPow2N >= PFFFT_FUNC(min_fft_size)(cplx ? PFFFT_COMPLEX : PFFFT_REAL) )
918 PFFFT_SETUP *s = PFFFT_FUNC(new_setup)(pffftPow2N, cplx ? PFFFT_COMPLEX : PFFFT_REAL);
937 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
941 …tmeas[TYPE_DUR_NS][ALGO_PFFFT_U] = show_output("PFFFT-U", N, cplx, flops, t0, t1, max_iter, tableF…
946 show_output("PFFFT-U", N, cplx, -1, -1, -1, -1, tableFile);
950 if ( pffftPow2N >= PFFFT_FUNC(min_fft_size)(cplx ? PFFFT_COMPLEX : PFFFT_REAL) )
953 PFFFT_SETUP *s = PFFFT_FUNC(new_setup)(pffftPow2N, cplx ? PFFFT_COMPLEX : PFFFT_REAL);
972 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed…
976 …tmeas[TYPE_DUR_NS][ALGO_PFFFT_O] = show_output("PFFFT", N, cplx, flops, t0, t1, max_iter, tableFil…
981 show_output("PFFFT", N, cplx, -1, -1, -1, -1, tableFile);