diff options
| author | Tor Aamodt <[email protected]> | 2011-01-02 12:23:52 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2011-01-02 12:23:52 -0800 |
| commit | 36397be09f07bf5cdb47913a7e5e1790d32c00ed (patch) | |
| tree | 94c02395ff8fbb62ee780e88db33d472336e1f2d /src/gpgpu-sim/dram.h | |
| parent | 30022ecfff2ac894c0477f0ab3aac00708ac0550 (diff) | |
integrate bug fix (passes fast regression)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8310]
Diffstat (limited to 'src/gpgpu-sim/dram.h')
| -rw-r--r-- | src/gpgpu-sim/dram.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpgpu-sim/dram.h b/src/gpgpu-sim/dram.h index 1a684c2..d4e8255 100644 --- a/src/gpgpu-sim/dram.h +++ b/src/gpgpu-sim/dram.h @@ -123,7 +123,8 @@ struct mem_fetch; 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 struct memory_config *config, class memory_stats_t *stats, + class memory_partition_unit *mp ); bool full() const; void print( FILE* simFile ) const; @@ -139,7 +140,7 @@ public: void cycle(); void dram_log (int task); - struct memory_partition_unit *m_memory_partition_unit; + class memory_partition_unit *m_memory_partition_unit; unsigned int id; private: |
