summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-24 09:37:18 -0800
committerTor Aamodt <[email protected]>2010-08-24 09:37:18 -0800
commit5cb919d7fbe3e5b388b9c83b22762dad96da56b1 (patch)
treeff8667fff1b6bb5fb5b6ebe53ac2ddd13c2156c2 /src/gpgpu-sim/gpu-sim.h
parent4624b9f95fcdb0e3fa31d6aa1b5a2c1bd4d39536 (diff)
some minor cleaning up
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7259]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index 4fa0aaa..bad4adc 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -69,28 +69,23 @@
#ifndef GPU_SIM_H
#define GPU_SIM_H
-#define NUM_SHADERS 8
-#define STREAMS_PER_FILE 128
-
+// constants for statistics printouts
#define GPU_RSTAT_SHD_INFO 0x1
#define GPU_RSTAT_BW_STAT 0x2
#define GPU_RSTAT_WARP_DIS 0x4
#define GPU_RSTAT_DWF_MAP 0x8
-
-//gpgpu_interwarp_mshr_merge
-#define TEX_MSHR_MERGE 0x4
-#define CONST_MSHR_MERGE 0x2
-#define GLOBAL_MSHR_MERGE 0x1
-
-//Prints out a verbose L1 miss rate per thread for shader 0
#define GPU_RSTAT_L1MISS 0x10
#define GPU_RSTAT_PDOM 0x20
#define GPU_RSTAT_SCHED 0x40
-
-//options for gpgpu_memlatency_stat
#define GPU_MEMLATSTAT_MC 0x2
#define GPU_MEMLATSTAT_QUEUELOGS 0x4
+// constants for configuring merging of coalesced scatter-gather requests
+#define TEX_MSHR_MERGE 0x4
+#define CONST_MSHR_MERGE 0x2
+#define GLOBAL_MSHR_MERGE 0x1
+
+// clock constants
#define MhZ *1000000
extern void init_gpu();