1*bf2c3715SXin Li //=====================================================
2*bf2c3715SXin Li // Copyright (C) 2008 Gael Guennebaud <[email protected]>
3*bf2c3715SXin Li //=====================================================
4*bf2c3715SXin Li //
5*bf2c3715SXin Li // This program is free software; you can redistribute it and/or
6*bf2c3715SXin Li // modify it under the terms of the GNU General Public License
7*bf2c3715SXin Li // as published by the Free Software Foundation; either version 2
8*bf2c3715SXin Li // of the License, or (at your option) any later version.
9*bf2c3715SXin Li //
10*bf2c3715SXin Li // This program is distributed in the hope that it will be useful,
11*bf2c3715SXin Li // but WITHOUT ANY WARRANTY; without even the implied warranty of
12*bf2c3715SXin Li // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*bf2c3715SXin Li // GNU General Public License for more details.
14*bf2c3715SXin Li // You should have received a copy of the GNU General Public License
15*bf2c3715SXin Li // along with this program; if not, write to the Free Software
16*bf2c3715SXin Li // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17*bf2c3715SXin Li //
18*bf2c3715SXin Li #include "utilities.h"
19*bf2c3715SXin Li #include "mtl4_interface.hh"
20*bf2c3715SXin Li #include "bench.hh"
21*bf2c3715SXin Li #include "basic_actions.hh"
22*bf2c3715SXin Li #include "action_cholesky.hh"
23*bf2c3715SXin Li // #include "action_lu_decomp.hh"
24*bf2c3715SXin Li
25*bf2c3715SXin Li BTL_MAIN;
26*bf2c3715SXin Li
main()27*bf2c3715SXin Li int main()
28*bf2c3715SXin Li {
29*bf2c3715SXin Li
30*bf2c3715SXin Li bench<Action_axpy<mtl4_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT);
31*bf2c3715SXin Li bench<Action_axpby<mtl4_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT);
32*bf2c3715SXin Li
33*bf2c3715SXin Li bench<Action_matrix_vector_product<mtl4_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT);
34*bf2c3715SXin Li bench<Action_atv_product<mtl4_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT);
35*bf2c3715SXin Li bench<Action_matrix_matrix_product<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
36*bf2c3715SXin Li // bench<Action_ata_product<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
37*bf2c3715SXin Li // bench<Action_aat_product<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
38*bf2c3715SXin Li
39*bf2c3715SXin Li bench<Action_trisolve<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
40*bf2c3715SXin Li // bench<Action_cholesky<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
41*bf2c3715SXin Li // bench<Action_lu_decomp<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
42*bf2c3715SXin Li
43*bf2c3715SXin Li return 0;
44*bf2c3715SXin Li }
45*bf2c3715SXin Li
46*bf2c3715SXin Li
47