summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-08 22:57:41 -0800
committerTor Aamodt <[email protected]>2010-08-08 22:57:41 -0800
commita1acb8ed114e6ed00c742e7fd7bcbbe216f909c1 (patch)
treeba2f2cde4317b9c1cd5a3321652563aa461dca37 /src/gpgpu-sim/l2cache.cc
parenta22c87cf48cb64a264c0696e6749e85b2038e0cf (diff)
refactoring: mem_latency_stat in impl, etc...
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7173]
Diffstat (limited to 'src/gpgpu-sim/l2cache.cc')
-rw-r--r--src/gpgpu-sim/l2cache.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpgpu-sim/l2cache.cc b/src/gpgpu-sim/l2cache.cc
index 03a6a25..de8de47 100644
--- a/src/gpgpu-sim/l2cache.cc
+++ b/src/gpgpu-sim/l2cache.cc
@@ -14,6 +14,7 @@
#include "l2cache.h"
#include "../intersim/statwraper.h"
#include "../abstract_hardware_model.h"
+#include "gpu-sim.h"
class L2c_mshr;
class L2c_miss_tracker;
@@ -48,8 +49,6 @@ struct L2cacheblk
extern unsigned long long int addrdec_mask[5];
extern dram_t **dram;
extern int gpgpu_dram_sched_queue_size;
-extern unsigned int gpu_n_shader;
-extern unsigned int gpu_n_mem;
extern unsigned long long gpu_sim_cycle;
extern unsigned made_write_mfs;
extern unsigned freed_L1write_mfs;