summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/dram.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-14 11:25:42 -0400
committerMengchi Zhang <[email protected]>2019-07-14 11:25:42 -0400
commit23c0bb224295dde9651fd915d854e4f7eafdf88f (patch)
tree89471b7f562d52f6880b534b8abc7bda24f7f373 /src/gpgpu-sim/dram.h
parent4671280cfe7252bf875d071e667f57064250a1b7 (diff)
Move sm_next_access_uid
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/gpgpu-sim/dram.h')
-rw-r--r--src/gpgpu-sim/dram.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpgpu-sim/dram.h b/src/gpgpu-sim/dram.h
index 7a3a2da..0bd9725 100644
--- a/src/gpgpu-sim/dram.h
+++ b/src/gpgpu-sim/dram.h
@@ -106,11 +106,12 @@ enum bank_grp_bits_position{
};
class mem_fetch;
+class memory_config;
class dram_t
{
public:
- dram_t( unsigned int parition_id, const struct memory_config *config, class memory_stats_t *stats,
+ dram_t( unsigned int parition_id, const memory_config *config, class memory_stats_t *stats,
class memory_partition_unit *mp, class gpgpu_sim* gpu );
bool full(bool is_write) const;
@@ -145,7 +146,7 @@ public:
- const struct memory_config *m_config;
+ const memory_config *m_config;
private:
bankgrp_t **bkgrp;