diff options
| author | tgrogers <[email protected]> | 2018-02-21 22:46:20 -0500 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2018-02-21 22:46:20 -0500 |
| commit | 71d9ada37b64360a216dbceef5b7a26a6cab8480 (patch) | |
| tree | ac0180ec5fb467ea54cea51f9105c4c76e3ac26e /src/gpgpu-sim/mem_fetch.cc | |
| parent | 7796a731c2a7d14a58d1369af62c8ad589c63921 (diff) | |
| parent | 4a94401a277342cfd0799863b1a07abc95f954c7 (diff) | |
merging in the mainline
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() |
