diff options
| author | Tor Aamodt <[email protected]> | 2010-08-23 09:39:43 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-23 09:39:43 -0800 |
| commit | 5e8eced64a8262b0190c4014e59b93c37ba3af9c (patch) | |
| tree | 45cbf2cc87a2671c86548d645ef982f6b68373b3 /src/gpgpu-sim/dram.h | |
| parent | 83a96bb39177a0767c6d851f4fe3ff92757652f5 (diff) | |
- 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]
Diffstat (limited to 'src/gpgpu-sim/dram.h')
| -rw-r--r-- | src/gpgpu-sim/dram.h | 8 |
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 { |
