From 5e8eced64a8262b0190c4014e59b93c37ba3af9c Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 23 Aug 2010 09:39:43 -0800 Subject: - add '-keep' option to keep intermediate files (used for OpenCL only right now) - remove redundant initialization code of options (which confuses new users) - make bool option variables bool type - remove some more extern decls [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7247] --- src/gpgpu-sim/dram.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/gpgpu-sim/dram.h') 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 { -- cgit v1.3