Agora  1.2.0
Agora project
test_fft_mkl.cc File Reference

Testing functions for fft using the mkl library. More...

#include <immintrin.h>
#include <cmath>
#include <iostream>
#include "cpu_attach.h"
#include "datatype_conversion.h"
#include "memory_manage.h"
#include "mkl_dfti.h"
Include dependency graph for test_fft_mkl.cc:

Functions

static double fft_get_time (void)
 
int flushCache ()
 
int flushCacheRuntime (long *p, long long p_size)
 
static double bench_fft_1d_mkl (unsigned N, unsigned iterations)
 
static double bench_ifft_1d_mkl (unsigned N, unsigned iterations)
 
static double bench_fft_1d_mkl_out (unsigned N, unsigned iterations)
 
static double bench_data_type_convert (unsigned N, unsigned iterations)
 
static void demod_16qam_loop (float *vec_in, uint8_t *vec_out, int ue_num)
 
static void demod_16qam_loop2 (float *vec_in, uint8_t *vec_out, int ue_num)
 
static double bench_demod (unsigned N, unsigned iterations)
 
static void run_benchmark_1d (unsigned N, unsigned iterations)
 
static void run_benchmark_1d_ifft (unsigned N, unsigned iterations)
 
static void run_benchmark_data_type (unsigned N, unsigned iterations)
 
static void run_benchmark_demod (unsigned N, unsigned iterations)
 
int main (int argc, char *argv[])
 

Detailed Description

Testing functions for fft using the mkl library.

Function Documentation

◆ bench_data_type_convert()

static double bench_data_type_convert ( unsigned  N,
unsigned  iterations 
)
static

convert by xor-ing and subtracting magic value:

convert by xor-ing and subtracting magic value:

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_demod()

static double bench_demod ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_fft_1d_mkl()

static double bench_fft_1d_mkl ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_fft_1d_mkl_out()

static double bench_fft_1d_mkl_out ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:

◆ bench_ifft_1d_mkl()

static double bench_ifft_1d_mkl ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ demod_16qam_loop()

static void demod_16qam_loop ( float *  vec_in,
uint8_t *  vec_out,
int  ue_num 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ demod_16qam_loop2()

static void demod_16qam_loop2 ( float *  vec_in,
uint8_t *  vec_out,
int  ue_num 
)
static
Here is the call graph for this function:

◆ fft_get_time()

static double fft_get_time ( void  )
static
Here is the caller graph for this function:

◆ flushCache()

int flushCache ( )

◆ flushCacheRuntime()

int flushCacheRuntime ( long *  p,
long long  p_size 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ run_benchmark_1d()

static void run_benchmark_1d ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_1d_ifft()

static void run_benchmark_1d_ifft ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_data_type()

static void run_benchmark_data_type ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_demod()

static void run_benchmark_demod ( unsigned  N,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: