btl_blitz.cpp
Go to the documentation of this file.
00001 //=====================================================
00002 // File   :  main.cpp
00003 // Author :  L. Plagne <laurent.plagne@edf.fr)>
00004 // Copyright (C) EDF R&D,  lun sep 30 14:23:30 CEST 2002
00005 //=====================================================
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2
00010 // of the License, or (at your option) any later version.
00011 //
00012 // This program is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 // You should have received a copy of the GNU General Public License
00017 // along with this program; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00019 //
00020 #include "utilities.h"
00021 #include "blitz_interface.hh"
00022 #include "blitz_LU_solve_interface.hh"
00023 #include "bench.hh"
00024 #include "action_matrix_vector_product.hh"
00025 #include "action_matrix_matrix_product.hh"
00026 #include "action_axpy.hh"
00027 #include "action_lu_solve.hh"
00028 #include "action_ata_product.hh"
00029 #include "action_aat_product.hh"
00030 #include "action_atv_product.hh"
00031 
00032 BTL_MAIN;
00033 
00034 int main()
00035 {
00036 
00037   bench<Action_matrix_vector_product<blitz_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT);
00038   bench<Action_atv_product<blitz_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT);
00039 
00040   bench<Action_matrix_matrix_product<blitz_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
00041   bench<Action_ata_product<blitz_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
00042   bench<Action_aat_product<blitz_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT);
00043 
00044   bench<Action_axpy<blitz_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT);
00045 
00046   //bench<Action_lu_solve<blitz_LU_solve_interface<REAL_TYPE> > >(MIN_LU,MAX_LU,NB_POINT);
00047 
00048   return 0;
00049 }
00050 
00051 


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:32:31