summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.h
diff options
context:
space:
mode:
authortgrogers <[email protected]>2017-11-18 15:48:26 -0500
committertgrogers <[email protected]>2017-11-18 15:48:26 -0500
commit9233f6f9eeea537187deb64add77a320442aa621 (patch)
treec2351512f93d44354ea31509a2964d03fe530c71 /src/gpgpu-sim/l2cache.h
parenta2b163e4476387df8693c1a784cf094f8868a086 (diff)
vectoradd is successfully filling the l2
Diffstat (limited to 'src/gpgpu-sim/l2cache.h')
-rw-r--r--src/gpgpu-sim/l2cache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpgpu-sim/l2cache.h b/src/gpgpu-sim/l2cache.h
index 2cc0e76..b613a94 100644
--- a/src/gpgpu-sim/l2cache.h
+++ b/src/gpgpu-sim/l2cache.h
@@ -72,6 +72,7 @@ public:
void print_stat( FILE *fp ) { m_dram->print_stat(fp); }
void visualize() const { m_dram->visualize(); }
void print( FILE *fp ) const;
+ void handle_memcpy_to_gpu( size_t dst_start_addr, unsigned subpart_id, mem_access_sector_mask_t mask );
class memory_sub_partition * get_sub_partition(int sub_partition_id)
{
@@ -178,6 +179,11 @@ public:
void accumulate_L2cache_stats(class cache_stats &l2_stats) const;
void get_L2cache_sub_stats(struct cache_sub_stats &css) const;
+ void force_l2_tag_update(new_addr_type addr, unsigned time, mem_access_sector_mask_t mask)
+ {
+ m_L2cache->force_tag_access( addr, time, mask );
+ }
+
private:
// data
unsigned m_id; //< the global sub partition ID