Go to the source code of this file.
Defines | |
#define | BENCH(X) |
#define | DENSITY 0.01 |
#define | EIGEN_SUPERLU_SUPPORT |
#define | EIGEN_UMFPACK_SUPPORT |
#define | MINDENSITY 0.0004 |
#define | NBTRIES 10 |
#define | NOGMM |
#define | NOMTL |
#define | REPEAT 1 |
#define | SIZE 10 |
Typedefs | |
typedef Matrix< Scalar, Dynamic, 1 > | VectorX |
Functions | |
template<int Backend> | |
void | doEigen (const char *name, const EigenSparseMatrix &sm1, const VectorX &b, VectorX &x, int flags=0) |
int | main (int argc, char *argv[]) |
timer.reset(); \ for (int _j=0; _j<NBTRIES; ++_j) { \ timer.start(); \ for (int _k=0; _k<REPEAT; ++_k) { \ X \ } timer.stop(); }
Definition at line 33 of file bench/sparse_lu.cpp.
#define DENSITY 0.01 |
Definition at line 16 of file bench/sparse_lu.cpp.
#define EIGEN_SUPERLU_SUPPORT |
Definition at line 4 of file bench/sparse_lu.cpp.
#define EIGEN_UMFPACK_SUPPORT |
Definition at line 5 of file bench/sparse_lu.cpp.
#define MINDENSITY 0.0004 |
Definition at line 26 of file bench/sparse_lu.cpp.
#define NBTRIES 10 |
Definition at line 30 of file bench/sparse_lu.cpp.
#define NOGMM |
Definition at line 8 of file bench/sparse_lu.cpp.
#define NOMTL |
Definition at line 9 of file bench/sparse_lu.cpp.
#define REPEAT 1 |
Definition at line 20 of file bench/sparse_lu.cpp.
#define SIZE 10 |
Definition at line 12 of file bench/sparse_lu.cpp.
void doEigen | ( | const char * | name, |
const EigenSparseMatrix & | sm1, | ||
const VectorX & | b, | ||
VectorX & | x, | ||
int | flags = 0 |
||
) |
Definition at line 46 of file bench/sparse_lu.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 72 of file bench/sparse_lu.cpp.