diff options
| author | Wilson Fung <[email protected]> | 2012-02-20 23:56:01 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:19:03 -0700 |
| commit | 7092b55e927a46128d279d544ff2a32887e81126 (patch) | |
| tree | 0aa79634aa6bb75ffdd27ac4d7bd2c9d2edf9fa0 /src/abstract_hardware_model.cc | |
| parent | 85ff8940cb900dff92f459d9d24a0597997e41b7 (diff) | |
Fix for bug 129. Created a directed test with a pre-known instruction count, and observed the over-count for vector memory instruction. The fix eliminates the over-count.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11481]
Diffstat (limited to 'src/abstract_hardware_model.cc')
| -rw-r--r-- | src/abstract_hardware_model.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc index 841be93..6010bf6 100644 --- a/src/abstract_hardware_model.cc +++ b/src/abstract_hardware_model.cc @@ -489,7 +489,7 @@ void warp_inst_t::memory_coalescing_arch_13_reduce_and_send( bool is_write, mem_ m_accessq.push_back( mem_access_t(access_type,addr,size,is_write,info.active,info.bytes) ); } -void warp_inst_t::completed( unsigned long long cycle ) +void warp_inst_t::completed( unsigned long long cycle ) const { unsigned long long latency = cycle - issue_cycle; assert(latency <= cycle); // underflow detection |
