From 3c71147d4138fbed4334a70c80b70a54539cce35 Mon Sep 17 00:00:00 2001 From: Dongdong Li Date: Wed, 9 Oct 2013 02:56:03 -0800 Subject: Bug FIX: icnt::full() check using wrong mf size Review ID: 89001 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17086] --- src/gpgpu-sim/gpu-cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpgpu-sim/gpu-cache.cc') diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc index 469d6dd..2137d2e 100644 --- a/src/gpgpu-sim/gpu-cache.cc +++ b/src/gpgpu-sim/gpu-cache.cc @@ -635,7 +635,7 @@ bool baseline_cache::bandwidth_management::fill_port_free() const void baseline_cache::cycle(){ if ( !m_miss_queue.empty() ) { mem_fetch *mf = m_miss_queue.front(); - if ( !m_memport->full(mf->get_data_size(),mf->get_is_write()) ) { + if ( !m_memport->full(mf->size(),mf->get_is_write()) ) { m_miss_queue.pop_front(); m_memport->push(mf); } -- cgit v1.3