diff options
| author | Mahmoud <[email protected]> | 2018-08-27 20:28:24 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-08-27 20:28:24 -0400 |
| commit | 944f6dbf23d792dde360d3a4f2334de3b541de52 (patch) | |
| tree | d1a257a87769ef52f2d72a4cd62147e591d5cd97 /src/gpgpu-sim/gpu-sim.cc | |
| parent | 5e7bd910c07c066d5d1cc4b12f8aa7abefcdb411 (diff) | |
fixing ead/write buffer and new configs files
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index d48de25..ea2dfba 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -1495,7 +1495,8 @@ void gpgpu_sim::cycle() } else { mem_fetch* mf = (mem_fetch*) icnt_pop( m_shader_config->mem2device(i) ); m_memory_sub_partition[i]->push( mf, gpu_sim_cycle + gpu_tot_sim_cycle ); - partiton_reqs_in_parallel_per_cycle++; + if(mf) + partiton_reqs_in_parallel_per_cycle++; } m_memory_sub_partition[i]->cache_cycle(gpu_sim_cycle+gpu_tot_sim_cycle); m_memory_sub_partition[i]->accumulate_L2cache_stats(m_power_stats->pwr_mem_stat->l2_cache_stats[CURRENT_STAT_IDX]); |
