diff options
| author | Tayler Hetherington <[email protected]> | 2012-09-16 13:38:57 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:49:20 -0700 |
| commit | 9ceb6f2016a16aa9c877956fc2e8bc43dc697322 (patch) | |
| tree | 52f22dd215702ad439e73800388a978b8125af8f /src/gpgpu-sim/shader.h | |
| parent | 960a55b075be901ca14d1878f886bbea73456663 (diff) | |
Modified the cache hierarchy, reorganized code to eliminate code replication, implemented write allocate / write back policies in L2 cache, added configurable parameters in gpgpusim.config ("W" = Write Allocate, "N" = No write allocate -> "P" = Private, "S" = shared), modified the cache configuration lines to always be separated by ":" instead of ":" and ",", and modified L1 and L2 data cache to be "Write Back" caches instead of "Read Only".
Still need to implement Ahmed's sectored cache implementation.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14081]
Diffstat (limited to 'src/gpgpu-sim/shader.h')
| -rw-r--r-- | src/gpgpu-sim/shader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index 86a1a86..078633d 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -1109,6 +1109,9 @@ struct shader_core_stats_pod { int gpgpu_n_mem_write_global; int gpgpu_n_mem_read_inst; + int gpgpu_n_mem_l2_writeback; + int gpgpu_n_mem_l2_write_allocate; + unsigned made_write_mfs; unsigned made_read_mfs; }; |
