Agora
1.2.0
Agora project
|
#include <gflags/gflags.h>
#include <mkl.h>
#include <iostream>
#include "armadillo"
#include "timer.h"
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 |
#define ARMA_DONT_PRINT_ERRORS |
|
strong |
std::pair<std::vector<arma::cx_fmat>, double> arma_pseudo_inverses | ( | const std::vector< arma::cx_fmat > & | test_matrices, |
PinvMode | mode | ||
) |
DEFINE_uint64 | ( | n_cols | , |
32 | , | ||
"Number of matrix columns" | |||
) |
DEFINE_uint64 | ( | n_iters | , |
10000 | , | ||
"Number of iterations of inversion" | |||
) |
DEFINE_uint64 | ( | n_rows | , |
64 | , | ||
"Number of matrix rows" | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
double freq_ghz = -1.0 |
|
staticconstexpr |