diff options
| author | Ahmed El-Shafiey <[email protected]> | 2012-11-30 23:07:40 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:49:22 -0700 |
| commit | a4e786e7ba32deb2877722650a907ccdb1bef096 (patch) | |
| tree | ad16af8eb995fcd05b3eda579284e192ea9cb6a3 /src/gpgpu-sim/gpu-sim.cc | |
| parent | aab87f149f7442d1447cbb82cc6290d185a56aa5 (diff) | |
fixing a segfault problem for Quadro config with interconnect stats
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14737]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index b2b00a4..9d3145b 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -759,7 +759,7 @@ void gpgpu_sim::gpu_print_stat() m_memory_partition_unit[i]->set_icnt_power_stats(temp); total_mem_to_simt += temp; } - for(unsigned i=0; i<m_config.num_shader(); i++){ + for(unsigned i=0; i<m_config.num_cluster(); i++){ unsigned temp=0; m_cluster[i]->set_icnt_stats(temp); total_simt_to_mem += temp; |
