#include <iostream>
#include "BenchUtil.h"
#include "basicbenchmark.h"
Go to the source code of this file.
#define _GENERATE_HEADER |
( |
|
R, |
|
|
|
ARG, |
|
|
|
EL |
|
) |
| |
Value:<< BOOST_PP_STRINGIZE(BOOST_PP_SEQ_HEAD(EL)) << "-" \
<< BOOST_PP_STRINGIZE(BOOST_PP_SEQ_ELEM(1,EL)) << "x" \
<< BOOST_PP_STRINGIZE(BOOST_PP_SEQ_ELEM(1,EL)) << " / "
#define _RUN_BENCH |
( |
|
R, |
|
|
|
ARG, |
|
|
|
EL |
|
) |
| |
Value:std::cout << ARG( \
BOOST_PP_CAT(
Matrix, BOOST_PP_SEQ_HEAD(EL)) (\
BOOST_PP_SEQ_ELEM(1,EL),BOOST_PP_SEQ_ELEM(1,EL)), BOOST_PP_SEQ_ELEM(2,EL), tries) \
<< " ";
The matrix class, also used for vectors and row-vectors.
#define MODES ((3d)(3)(4000000)) ((4d)(4)(1000000)) ((Xd)(4)(1000000)) ((Xd)(20)(10000)) |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |