summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-05-19 03:00:31 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:31 -0700
commitefbfd78a143b2e9be6d981252fd117c09db98682 (patch)
treeb01dfdc6df4c7eec1bdba871c44722ad180f0986 /src/gpgpu-sim/shader.cc
parent17503436d1a02c5727fec69d1837081e9908c4cf (diff)
Fixing bug 161 and 164. WP now runs without deadlocking due to I-cache miss replay eddy.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12666]
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 6893dda..ccd2a38 100644
--- a/src/gpgpu-sim/shader.cc
+++ b/src/gpgpu-sim/shader.cc
@@ -494,6 +494,7 @@ void shader_core_ctx::fetch()
m_warp[warp_id].set_last_fetch(gpu_sim_cycle);
delete mf;
} else {
+ m_last_warp_fetched=warp_id;
assert( status == RESERVATION_FAIL );
delete mf;
}