diff options
| author | Ahmed El-Shafiey <[email protected]> | 2013-04-04 15:17:00 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:45 -0700 |
| commit | 57ce826072c744e500523442313807f08e80a2c0 (patch) | |
| tree | fd1d3777d2e21b00d4163ecafc177c29b99b52d9 /src | |
| parent | 10028604a91ad87ae7efd9d8ba568b7eaa316eb9 (diff) | |
correcting the allocation of n_simt_to_mem/n_mem_to_simt stats
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15699]
Diffstat (limited to 'src')
| -rw-r--r-- | src/gpgpu-sim/power_stat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/power_stat.cc b/src/gpgpu-sim/power_stat.cc index 0332e73..12c9574 100644 --- a/src/gpgpu-sim/power_stat.cc +++ b/src/gpgpu-sim/power_stat.cc @@ -96,7 +96,7 @@ void power_mem_stat_t::init(){ // Interconnect stats n_mem_to_simt[i] = (unsigned *)calloc(m_config->m_n_mem,sizeof(unsigned)); // Counted at memory partition - n_simt_to_mem[i] = (unsigned *)calloc(m_core_config->n_simt_clusters,sizeof(unsigned)); // Counted at SM + n_simt_to_mem[i] = (unsigned *)calloc(m_core_config->n_simt_clusters*m_core_config->n_simt_cores_per_cluster,sizeof(unsigned)); // Counted at SM } } |
