diff options
| author | Mahmoud <[email protected]> | 2019-11-14 19:11:02 -0500 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2019-11-14 19:11:02 -0500 |
| commit | 3ca1a6ac9a9774b25a2dbeba6c55a04206f8cdca (patch) | |
| tree | 86259d514298cb206b8356a9a13d3689aedcf80d /src/gpgpu-sim/shader.cc | |
| parent | a009318f6ffae0c71b5735c3e6b49b5a0bd09029 (diff) | |
fixing the missing instruction bug in trace-driven mode
Diffstat (limited to 'src/gpgpu-sim/shader.cc')
| -rw-r--r-- | src/gpgpu-sim/shader.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.cc b/src/gpgpu-sim/shader.cc index de33026..926453a 100644 --- a/src/gpgpu-sim/shader.cc +++ b/src/gpgpu-sim/shader.cc @@ -1635,6 +1635,9 @@ bool ldst_unit::shared_cycle( warp_inst_t &inst, mem_stage_stall_type &rc_fail, if( inst.space.get_type() != shared_space ) return true; + if( inst.active_count() == 0 ) + return true; + if(inst.has_dispatch_delay()){ m_stats->gpgpu_n_shmem_bank_access[m_sid]++; } |
