summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2011-05-28 13:17:40 -0800
committerTor Aamodt <[email protected]>2011-05-28 13:17:40 -0800
commitc2a975d32edc505adccfb9179c874b1d934fafec (patch)
treeba76872b6c63218caecccff69072a781968fabcd /src/gpgpu-sim/shader.cc
parentebcce12866073049eb7eecb7f052bac7c46d04cc (diff)
fix for bug 103
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9395]
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 f7ef19a..5456415 100644
--- a/src/gpgpu-sim/shader.cc
+++ b/src/gpgpu-sim/shader.cc
@@ -1123,6 +1123,7 @@ void ldst_unit::writeback()
}
}
}
+ m_core->get_gpu()->gpu_sim_insn += m_next_wb.active_count();
m_next_wb.clear();
m_last_inst_gpu_sim_cycle = gpu_sim_cycle;
m_last_inst_gpu_tot_sim_cycle = gpu_tot_sim_cycle;