summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/dram.cc
diff options
context:
space:
mode:
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;