summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/dram.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2013-07-17 16:44:50 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:58 -0700
commitbb4cc3179dd36e882fb78732c9dfb99b1528b8d9 (patch)
tree6cd7cbb48b4119e33dc0fed9bba3bc7688eb60d2 /src/gpgpu-sim/dram.cc
parente480b8ac999a7132ce003f102d5d5a80a776c2f6 (diff)
Redesigned the memory partition unit to support multiple L2 cache banks per partition. Each L2 cache banks has its own connection to the interconnection network to allow L2 bandwidth to scale without increase the number of memory parttiion units.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16613]
Diffstat (limited to 'src/gpgpu-sim/dram.cc')
-rw-r--r--src/gpgpu-sim/dram.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gpgpu-sim/dram.cc b/src/gpgpu-sim/dram.cc
index f28db2f..92c9727 100644
--- a/src/gpgpu-sim/dram.cc
+++ b/src/gpgpu-sim/dram.cc
@@ -421,11 +421,16 @@ void dram_t::cycle()
}
//if mrq is being serviced by dram, gets popped after CL latency fulfilled
-class mem_fetch* dram_t::pop()
+class mem_fetch* dram_t::return_queue_pop()
{
return returnq->pop();
}
+class mem_fetch* dram_t::return_queue_top()
+{
+ return returnq->top();
+}
+
void dram_t::print( FILE* simFile) const
{
unsigned i;