Agora  1.2.0
Agora project
test_matrix.cc File Reference

Testing functions for zf matrix computations. More...

#include <sys/resource.h>
#include <sys/time.h>
#include "armadillo"
#include "cpu_attach.h"
Include dependency graph for test_matrix.cc:

Functions

static double test_get_time (void)
 
void flushCache ()
 
static double bench_ZF_warmup (unsigned Nx, unsigned Ny, unsigned iterations)
 
static double bench_ZF (unsigned Nx, unsigned Ny, unsigned iterations)
 
static double bench_multiply_dim1 (unsigned Nx, unsigned Ny, unsigned iterations)
 
static double bench_multiply_dim2 (unsigned Nx, unsigned Ny, unsigned iterations)
 
static double bench_multiply_transpose (unsigned Nx, unsigned Ny, unsigned iterations)
 
static void run_benchmark_ZF (unsigned Nx, unsigned Ny, unsigned iterations)
 
static void run_benchmark_multiply (int dim, unsigned Nx, unsigned Ny, unsigned iterations)
 
static void run_benchmark_precode (unsigned Nx, unsigned Ny, unsigned iterations)
 
int main (int argc, char *argv[])
 

Detailed Description

Testing functions for zf matrix computations.

Function Documentation

◆ bench_multiply_dim1()

static double bench_multiply_dim1 ( unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_multiply_dim2()

static double bench_multiply_dim2 ( unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_multiply_transpose()

static double bench_multiply_transpose ( unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_ZF()

static double bench_ZF ( unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_ZF_warmup()

static double bench_ZF_warmup ( unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flushCache()

void flushCache ( )

◆ main()

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

◆ run_benchmark_multiply()

static void run_benchmark_multiply ( int  dim,
unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_precode()

static void run_benchmark_precode ( unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_benchmark_ZF()

static void run_benchmark_ZF ( unsigned  Nx,
unsigned  Ny,
unsigned  iterations 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_get_time()

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