Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Validation
Performance
bin
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
35
RESOLUTION_DEFAULT
const double RESOLUTION_DEFAULT
Definition:
constants.h:4
FFT_SIZE
const int FFT_SIZE
Definition:
constants.h:9
TINY_SPARSE_SIZE_M
const int TINY_SPARSE_SIZE_M
Definition:
constants.h:29
LG_SPARSE_SIZE_nz
const int LG_SPARSE_SIZE_nz
Definition:
constants.h:20
LG_FFT_SIZE
const int LG_FFT_SIZE
Definition:
constants.h:17
TINY_LU_SIZE
const int TINY_LU_SIZE
Definition:
constants.h:32
TINY_SPARSE_SIZE_nz
const int TINY_SPARSE_SIZE_nz
Definition:
constants.h:31
SPARSE_SIZE_M
const int SPARSE_SIZE_M
Definition:
constants.h:11
LU_SIZE
const int LU_SIZE
Definition:
constants.h:13
TINY_SPARSE_SIZE_N
const int TINY_SPARSE_SIZE_N
Definition:
constants.h:30
SPARSE_SIZE_nz
const int SPARSE_SIZE_nz
Definition:
constants.h:12
TINY_FFT_SIZE
const int TINY_FFT_SIZE
Definition:
constants.h:27
LG_SOR_SIZE
const int LG_SOR_SIZE
Definition:
constants.h:18
SOR_SIZE
const int SOR_SIZE
Definition:
constants.h:10
TINY_SOR_SIZE
const int TINY_SOR_SIZE
Definition:
constants.h:28
LG_LU_SIZE
const int LG_LU_SIZE
Definition:
constants.h:21
RANDOM_SEED
const int RANDOM_SEED
Definition:
constants.h:5
LG_SPARSE_SIZE_M
const int LG_SPARSE_SIZE_M
Definition:
constants.h:19
Generated for CMSSW Reference Manual by
1.8.5