Agora  1.2.0
Agora project
bench.cc File Reference
#include <gflags/gflags.h>
#include <mkl.h>
#include <iostream>
#include "armadillo"
#include "timer.h"
Include dependency graph for bench.cc:

Macros

#define ARMA_DONT_PRINT_ERRORS
 

Enumerations

enum  PinvMode { PinvMode::kFormula, PinvMode::kSVD, PinvMode::kFormula, PinvMode::kSVD }
 

Functions

 DEFINE_uint64 (n_iters, 10000, "Number of iterations of inversion")
 
 DEFINE_uint64 (n_rows, 64, "Number of matrix rows")
 
 DEFINE_uint64 (n_cols, 32, "Number of matrix columns")
 
std::pair< std::vector< arma::cx_fmat >, double > arma_pseudo_inverses (const std::vector< arma::cx_fmat > &test_matrices, PinvMode mode)
 
int main (int argc, char **argv)
 

Variables

double freq_ghz = -1.0
 
static constexpr double warmup_fraction = .2
 

Macro Definition Documentation

◆ ARMA_DONT_PRINT_ERRORS

#define ARMA_DONT_PRINT_ERRORS

Enumeration Type Documentation

◆ PinvMode

enum PinvMode
strong
Enumerator
kFormula 
kSVD 
kFormula 
kSVD 

Function Documentation

◆ arma_pseudo_inverses()

std::pair<std::vector<arma::cx_fmat>, double> arma_pseudo_inverses ( const std::vector< arma::cx_fmat > &  test_matrices,
PinvMode  mode 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DEFINE_uint64() [1/3]

DEFINE_uint64 ( n_cols  ,
32  ,
"Number of matrix columns"   
)

◆ DEFINE_uint64() [2/3]

DEFINE_uint64 ( n_iters  ,
10000  ,
"Number of iterations of inversion"   
)

◆ DEFINE_uint64() [3/3]

DEFINE_uint64 ( n_rows  ,
64  ,
"Number of matrix rows"   
)

◆ main()

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

Variable Documentation

◆ freq_ghz

double freq_ghz = -1.0

◆ warmup_fraction

constexpr double warmup_fraction = .2
staticconstexpr