summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/dram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgpu-sim/dram.h')
-rw-r--r--src/gpgpu-sim/dram.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gpgpu-sim/dram.h b/src/gpgpu-sim/dram.h
index cd92fa9..ee5fc77 100644
--- a/src/gpgpu-sim/dram.h
+++ b/src/gpgpu-sim/dram.h
@@ -79,13 +79,11 @@
#define FIFO_NUM_WRITE_LIMIT 3 //used for both BANK_CONF and REALISTIC schedulers
#define LOOKAHEAD_VALUE 10 //used for REALISTIC scheduler ONLY
-enum {
- DRAM_FIFO,
- DRAM_IDEAL_FAST,
- DRAM_NUM_HANDLES
+enum dram_ctrl_t {
+ DRAM_FIFO=0,
+ DRAM_IDEAL_FAST=1
};
-
#define READ 'R' //define read and write states
#define WRITE 'W'
typedef struct {