summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2013-08-30 02:45:59 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:59 -0700
commitbb2a665ccd57f71043561a965a4c11931f96e7ef (patch)
tree5ce4a038736541d9b481f7f6f3c4756ce1d56d5a /src/gpgpu-sim/shader.cc
parent1cf38dabd66231ab259efe086b1317373d722303 (diff)
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]
Diffstat (limited to 'src/gpgpu-sim/shader.cc')
-rw-r--r--src/gpgpu-sim/shader.cc1
1 files changed, 1 insertions, 0 deletions
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);
}