summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/mem_fetch.h
diff options
context:
space:
mode:
authorTimothy G Rogers <[email protected]>2018-02-21 15:39:03 -0500
committerGitHub Enterprise <[email protected]>2018-02-21 15:39:03 -0500
commit4a94401a277342cfd0799863b1a07abc95f954c7 (patch)
tree189adf02f534869654c7ebe5f5dd4c4838def3a3 /src/gpgpu-sim/mem_fetch.h
parent275e5813f4ef3ef92851d1a3752d1bffaabcdb50 (diff)
parent6a2f9978b9325fb78e8af1be5d5aaf90814e08d7 (diff)
Merge pull request #6 from abdallm/dev-purdue-integration
HBM model + all Mahmoud's changes to the sim
Diffstat (limited to 'src/gpgpu-sim/mem_fetch.h')
-rw-r--r--src/gpgpu-sim/mem_fetch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gpgpu-sim/mem_fetch.h b/src/gpgpu-sim/mem_fetch.h
index db4a8e9..278cf32 100644
--- a/src/gpgpu-sim/mem_fetch.h
+++ b/src/gpgpu-sim/mem_fetch.h
@@ -55,7 +55,9 @@ public:
unsigned wid,
unsigned sid,
unsigned tpc,
- const class memory_config *config );
+ const class memory_config *config,
+ mem_fetch *original_mf = NULL,
+ mem_fetch *original_wr_mf = NULL);
~mem_fetch();
void set_status( enum mem_fetch_status status, unsigned long long cycle );
@@ -113,6 +115,8 @@ public:
const memory_config *get_mem_config(){return m_mem_config;}
unsigned get_num_flits(bool simt_to_mem);
+ mem_fetch* original_mf;
+ mem_fetch* original_wr_mf;
private:
// request source information
unsigned m_request_uid;