diff options
| author | Tayler Hetherington <[email protected]> | 2013-06-16 18:30:41 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:47 -0700 |
| commit | b4cf00ba9510d7fe23163e61ce4b33ced853c979 (patch) | |
| tree | 8c159ec03e96244833abd372923ccc5f6da86aeb /src/gpgpu-sim | |
| parent | 847a2dcc6c789f0b13dfdcd109f26302691848ad (diff) | |
Fixing deadlock bug for CL16452
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16456]
Diffstat (limited to 'src/gpgpu-sim')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc index d1a9835..7ac6024 100644 --- a/src/gpgpu-sim/gpu-cache.cc +++ b/src/gpgpu-sim/gpu-cache.cc @@ -765,9 +765,11 @@ enum cache_request_status read_only_cache::access( new_addr_type addr, mem_fetch send_read_request(addr, block_addr, cache_index, mf, time, do_miss, events, true, false); if(do_miss) status = MISS; + else + status = RESERVATION_FAIL; + }else{ + status = RESERVATION_FAIL; } - }else{ - status = RESERVATION_FAIL; } m_stats.inc_stats(mf->get_access_type(), status); return status; |
