CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/Validation/Performance/bin/constants.h

Go to the documentation of this file.
00001 #ifndef CONSTANTS_H_
00002 #define CONSTANTS_H_
00003 
00004      const  double RESOLUTION_DEFAULT = 2.0;  /* secs (normally 2.0) */
00005      const  int RANDOM_SEED = 101010;
00006 
00007     /* default: small (cache-contained) problem sizes */
00008 
00009      const  int FFT_SIZE = 1024;  /* must be a power of two */
00010      const  int SOR_SIZE =100; /* NxN grid */
00011      const  int SPARSE_SIZE_M = 1000;
00012      const  int SPARSE_SIZE_nz = 5000;
00013      const  int LU_SIZE = 100;
00014 
00015     /* large (out-of-cache) problem sizes */
00016 
00017      const  int LG_FFT_SIZE = 1048576;  /* must be a power of two */
00018      const  int LG_SOR_SIZE =1000;  /*  NxN grid  */
00019      const  int LG_SPARSE_SIZE_M = 100000;
00020      const  int LG_SPARSE_SIZE_nz =1000000;
00021      const  int LG_LU_SIZE = 1000;
00022 
00023     /* tiny problem sizes (used to mainly to preload network classes     */
00024     /*                     for applet, so that network download times    */
00025     /*                     are factored out of benchmark.)               */
00026     /*                                                                   */
00027      const  int TINY_FFT_SIZE = 16;  /* must be a power of two */
00028      const  int TINY_SOR_SIZE =10; /* NxN grid */
00029      const  int TINY_SPARSE_SIZE_M = 10;
00030      const  int TINY_SPARSE_SIZE_N = 10;
00031      const  int TINY_SPARSE_SIZE_nz = 50;
00032      const  int TINY_LU_SIZE = 10;
00033 
00034 #endif
00035