From bb2a665ccd57f71043561a965a4c11931f96e7ef Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Fri, 30 Aug 2013 02:45:59 -0800 Subject: Fixing assertion that occurs when L1 cache is configured with write-allocation policy. Also added description for the write-allocation fix implemented by Tayler. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16914] --- src/gpgpu-sim/shader.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpgpu-sim/shader.cc') diff --git a/src/gpgpu-sim/shader.cc b/src/gpgpu-sim/shader.cc index df858fa..230af89 100644 --- a/src/gpgpu-sim/shader.cc +++ b/src/gpgpu-sim/shader.cc @@ -3189,6 +3189,7 @@ void simt_core_cluster::icnt_inject_request_packet(class mem_fetch *mf) case INST_ACC_R: m_stats->gpgpu_n_mem_read_inst++; break; case L1_WRBK_ACC: m_stats->gpgpu_n_mem_write_global++; break; case L2_WRBK_ACC: m_stats->gpgpu_n_mem_l2_writeback++; break; + case L1_WR_ALLOC_R: m_stats->gpgpu_n_mem_l1_write_allocate++; break; case L2_WR_ALLOC_R: m_stats->gpgpu_n_mem_l2_write_allocate++; break; default: assert(0); } -- cgit v1.3