diff options
| author | Ahmed El-Shafiey <[email protected]> | 2012-12-20 20:40:54 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:49:23 -0700 |
| commit | 9333cfbf261666ac2a3d40b712b6cbb3346d8c00 (patch) | |
| tree | b6b14f3636fb4f01171965a6fbff2cf215ff78db /src/gpgpu-sim/gpu-cache.h | |
| parent | fecd769d1e7813b6cf962218208810049e2ad777 (diff) | |
fixing more bugs in interconnect stats, simt_to_mem related stats were wrongly allocated and not initialized
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14856]
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h index 783280c..ac5fee8 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -373,6 +373,7 @@ public: m_write_access=0; m_read_miss=0; m_write_miss=0; + n_simt_to_mem=0; } virtual enum cache_request_status access( new_addr_type addr, mem_fetch *mf, unsigned time, std::list<cache_event> &events ) = 0; @@ -587,6 +588,7 @@ public: m_cache = new data_block[ config.get_num_lines() ]; m_request_queue_status = request_status; m_rob_status = rob_status; + n_simt_to_mem=0; } /// Access function for tex_cache |
