diff options
| author | Mahmoud <[email protected]> | 2017-10-25 13:15:44 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2017-10-25 13:15:44 -0400 |
| commit | 50b7ac49a78948f61fa685d717de90feaa277b9b (patch) | |
| tree | 668375bfa2f2427a850fa7e691d5ceae347a6491 /src/gpgpu-sim/mem_fetch.cc | |
| parent | 07b375cc0c0da2b8a8ca7263f11ecca8ebaf8fe9 (diff) | |
The commits includes:
1- REEAD/WERITE buffer for DRAM
2- Fixing FETCH_ON_WRITE cahce policy bug
Diffstat (limited to 'src/gpgpu-sim/mem_fetch.cc')
| -rw-r--r-- | src/gpgpu-sim/mem_fetch.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpgpu-sim/mem_fetch.cc b/src/gpgpu-sim/mem_fetch.cc index b8e918f..c05a693 100644 --- a/src/gpgpu-sim/mem_fetch.cc +++ b/src/gpgpu-sim/mem_fetch.cc @@ -40,7 +40,8 @@ mem_fetch::mem_fetch( const mem_access_t &access, unsigned sid, unsigned tpc, const class memory_config *config, - mem_fetch *m_original_mf) + mem_fetch *m_original_mf, + mem_fetch *m_original_wr_mf) { m_request_uid = sm_next_mf_request_uid++; m_access = access; @@ -63,6 +64,7 @@ mem_fetch::mem_fetch( const mem_access_t &access, m_mem_config = config; icnt_flit_size = config->icnt_flit_size; original_mf = m_original_mf; + original_wr_mf = m_original_wr_mf; } mem_fetch::~mem_fetch() |
