summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.h
diff options
context:
space:
mode:
authorJRPan <[email protected]>2021-05-19 17:49:51 -0400
committerGitHub <[email protected]>2021-05-19 17:49:51 -0400
commit1875132a20422404ea75d04fc7be58a1bbca48f3 (patch)
tree526646c9ac3f182e9fd7103255e3680f2fcc7adc /src/gpgpu-sim/l2cache.h
parentf27da224f3e468d600499a9d3619009ed9c70256 (diff)
parent0e4f12ae3fefd6bad6175014411a6587a3898ac8 (diff)
Merge branch 'dev' into adaptive-cache
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 3152db3..1f5d7c4 100644
--- a/src/gpgpu-sim/l2cache.h
+++ b/src/gpgpu-sim/l2cache.h
@@ -51,6 +51,12 @@ class partition_mf_allocator : public mem_fetch_allocator {
virtual mem_fetch *alloc(new_addr_type addr, mem_access_type type,
unsigned size, bool wr,
unsigned long long cycle) const;
+ virtual mem_fetch *alloc(new_addr_type addr, mem_access_type type,
+ const active_mask_t &active_mask,
+ const mem_access_byte_mask_t &byte_mask,
+ const mem_access_sector_mask_t &sector_mask,
+ unsigned size, bool wr,
+ unsigned long long cycle) const;
private:
const memory_config *m_memory_config;