diff options
| author | tgrogers <[email protected]> | 2017-11-18 08:51:43 -0500 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2017-11-18 08:51:43 -0500 |
| commit | a2b163e4476387df8693c1a784cf094f8868a086 (patch) | |
| tree | 795ee670db8a66da8d13f3ae73e9d24ddd542602 /src/gpgpu-sim/mem_fetch.cc | |
| parent | 366bab391e09ff137a0fadba09be8b823c8db57f (diff) | |
| parent | dccac457bb2263602a6a244297168cae8fda8e47 (diff) | |
Merging Mahmoud
Diffstat (limited to 'src/gpgpu-sim/mem_fetch.cc')
| -rw-r--r-- | src/gpgpu-sim/mem_fetch.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gpgpu-sim/mem_fetch.cc b/src/gpgpu-sim/mem_fetch.cc index 580c051..c05a693 100644 --- a/src/gpgpu-sim/mem_fetch.cc +++ b/src/gpgpu-sim/mem_fetch.cc @@ -39,7 +39,9 @@ mem_fetch::mem_fetch( const mem_access_t &access, unsigned wid, unsigned sid, unsigned tpc, - const class memory_config *config ) + const class memory_config *config, + mem_fetch *m_original_mf, + mem_fetch *m_original_wr_mf) { m_request_uid = sm_next_mf_request_uid++; m_access = access; @@ -61,6 +63,8 @@ mem_fetch::mem_fetch( const mem_access_t &access, m_status_change = gpu_sim_cycle + gpu_tot_sim_cycle; 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() |
