summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
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();