bench_parameter.hh
Go to the documentation of this file.
00001 //=====================================================
00002 // File   :  bench_parameter.hh
00003 // Author :  L. Plagne <laurent.plagne@edf.fr)>
00004 // Copyright (C) EDF R&D,  lun sep 30 14:23:16 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 #ifndef BENCH_PARAMETER_HH
00021 #define BENCH_PARAMETER_HH
00022 
00023 // minimal time for each measurement
00024 #define REAL_TYPE float
00025 // minimal time for each measurement
00026 #define MIN_TIME 0.2
00027 // nb of point on bench curves
00028 #define NB_POINT 100
00029 // min vector size for axpy bench
00030 #define MIN_AXPY 5
00031 // max vector size for axpy bench
00032 #define MAX_AXPY 1000000
00033 // min matrix size for matrix vector product bench
00034 #define MIN_MV 5
00035 // max matrix size for matrix vector product bench
00036 #define MAX_MV 3000
00037 // min matrix size for matrix matrix product bench
00038 #define MIN_MM 5
00039 // max matrix size for matrix matrix product bench
00040 #define MAX_MM MAX_MV
00041 // min matrix size for LU bench
00042 #define MIN_LU 5
00043 // max matrix size for LU bench
00044 #define MAX_LU 3000
00045 // max size for tiny vector and matrix
00046 #define TINY_MV_MAX_SIZE 16
00047 // default nb_sample for x86 timer
00048 #define DEFAULT_NB_SAMPLE 1000
00049 
00050 // how many times we run a single bench (keep the best perf)
00051 #define DEFAULT_NB_TRIES 3
00052 
00053 #endif


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:30:47