Go to the documentation of this file.
6 #include "eigen_src/Eigen/Core"
7 #include "../BenchTimer.h"
11 #error SCALAR must be defined
19 template<
typename Func>
32 double up = 1e8/
sizeof(
Scalar);
33 double tm0 = 4, tm1 = 10;
41 double flops = 2. *
m *
n;
47 return 1
e-9 * rep * flops /
t.best();
50 template<
typename Func>
55 std::string
filename = std::string(
"gemv_settings.txt");
60 while(settings >>
m >>
n)
Namespace containing all symbols from the Eigen library.
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
Derived & setRandom(Index size)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
#define BENCH(TIMER, TRIES, REP, CODE)
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Matrix< Scalar, Dynamic, Dynamic > C
std::map< std::string, Array< float, 1, 8, DontAlign|RowMajor > > results
int main_gemv(int argc, char **argv, Func &f)
EIGEN_DONT_INLINE double bench(long m, long n, Func &f)
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Matrix< Scalar, Dynamic, 1 > Vec
#define EIGEN_DONT_INLINE
Matrix< Scalar, Dynamic, Dynamic > Mat
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:19