CMS 3D CMS Logo

constants.h
Go to the documentation of this file.
1 #ifndef CONSTANTS_H_
2 #define CONSTANTS_H_
3 
4 const double RESOLUTION_DEFAULT = 2.0; /* secs (normally 2.0) */
5 const int RANDOM_SEED = 101010;
6 
7 /* default: small (cache-contained) problem sizes */
8 
9 const int FFT_SIZE = 1024; /* must be a power of two */
10 const int SOR_SIZE = 100; /* NxN grid */
11 const int SPARSE_SIZE_M = 1000;
12 const int SPARSE_SIZE_nz = 5000;
13 const int LU_SIZE = 100;
14 
15 /* large (out-of-cache) problem sizes */
16 
17 const int LG_FFT_SIZE = 1048576; /* must be a power of two */
18 const int LG_SOR_SIZE = 1000; /* NxN grid */
19 const int LG_SPARSE_SIZE_M = 100000;
20 const int LG_SPARSE_SIZE_nz = 1000000;
21 const int LG_LU_SIZE = 1000;
22 
23 /* tiny problem sizes (used to mainly to preload network classes */
24 /* for applet, so that network download times */
25 /* are factored out of benchmark.) */
26 /* */
27 const int TINY_FFT_SIZE = 16; /* must be a power of two */
28 const int TINY_SOR_SIZE = 10; /* NxN grid */
29 const int TINY_SPARSE_SIZE_M = 10;
30 const int TINY_SPARSE_SIZE_N = 10;
31 const int TINY_SPARSE_SIZE_nz = 50;
32 const int TINY_LU_SIZE = 10;
33 
34 #endif
const double RESOLUTION_DEFAULT
Definition: constants.h:4
const int FFT_SIZE
Definition: constants.h:9
const int TINY_SPARSE_SIZE_M
Definition: constants.h:29
const int LG_SPARSE_SIZE_nz
Definition: constants.h:20
const int LG_FFT_SIZE
Definition: constants.h:17
const int TINY_LU_SIZE
Definition: constants.h:32
const int TINY_SPARSE_SIZE_nz
Definition: constants.h:31
const int SPARSE_SIZE_M
Definition: constants.h:11
const int LU_SIZE
Definition: constants.h:13
const int TINY_SPARSE_SIZE_N
Definition: constants.h:30
const int SPARSE_SIZE_nz
Definition: constants.h:12
const int TINY_FFT_SIZE
Definition: constants.h:27
const int LG_SOR_SIZE
Definition: constants.h:18
const int SOR_SIZE
Definition: constants.h:10
const int TINY_SOR_SIZE
Definition: constants.h:28
const int LG_LU_SIZE
Definition: constants.h:21
const int RANDOM_SEED
Definition: constants.h:5
const int LG_SPARSE_SIZE_M
Definition: constants.h:19