18#include "STL_interface.hh"
26template<
class Interface>
37 typename Interface::stl_matrix tmp;
38 init_vector<pseudo_random>(A_stl,_size);
39 init_vector<pseudo_random>(B_stl,_size);
42 Interface::vector_from_stl(A_ref,A_stl);
43 Interface::vector_from_stl(
A,A_stl);
44 Interface::vector_from_stl(B_ref,B_stl);
45 Interface::vector_from_stl(
B,B_stl);
51 INFOS(
"illegal call to Action_rot Copy Ctor");
58 Interface::free_vector(
A);
59 Interface::free_vector(
B);
60 Interface::free_vector(A_ref);
61 Interface::free_vector(B_ref);
65 static inline std::string
name(
void )
67 return "rot_" + Interface::name();
75 Interface::copy_vector(A_ref,
A,_size);
76 Interface::copy_vector(B_ref,
B,_size);
81 Interface::rot(
A,
B,0.5,0.6,_size);
103 typename Interface::stl_vector A_stl;
104 typename Interface::stl_vector B_stl;
106 typename Interface::gene_vector A_ref;
107 typename Interface::gene_vector B_ref;
109 typename Interface::gene_vector
A;
110 typename Interface::gene_vector
B;
Scalar Scalar int size
Definition benchVecAdd.cpp:17
#define BTL_ASM_COMMENT(X)
Definition btl.hh:44
#define BTL_DONT_INLINE
Definition btl.hh:38
Definition action_rot.hh:27
BTL_DONT_INLINE void calculate(void)
Definition action_rot.hh:79
double nb_op_base(void)
Definition action_rot.hh:70
Action_rot(const Action_rot &)
Definition action_rot.hh:49
static std::string name(void)
Definition action_rot.hh:65
BTL_DONT_INLINE void initialize(void)
Definition action_rot.hh:74
BTL_DONT_INLINE ~Action_rot(void)
Definition action_rot.hh:56
BTL_DONT_INLINE void check_result(void)
Definition action_rot.hh:85
BTL_DONT_INLINE Action_rot(int size)
Definition action_rot.hh:32
The matrix class, also used for vectors and row-vectors.
Definition Matrix.h:180
#define INFOS(chain)
Definition utilities.h:22
#define MESSAGE(chain)
Definition utilities.h:76