summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.h
diff options
context:
space:
mode:
authormkhairy <[email protected]>2021-05-19 17:47:56 -0400
committerGitHub <[email protected]>2021-05-19 17:47:56 -0400
commit0e4f12ae3fefd6bad6175014411a6587a3898ac8 (patch)
treebd35fe5e86be921cdf5658a9abee72fb7622816c /src/gpgpu-sim/l2cache.h
parent585dcf5dc05d6343314600114ebcea8c719e7423 (diff)
parent4c354ebda2c92bb5866c20f03a254743c8ec85a3 (diff)
Merge pull request #14 from JRPan/spring-2021-all
Byte Mask + Dirty Counter + Store ACK + Cache total access fix + check sector readable only on read + rewrite L2 breakdown function
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;