summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.h
diff options
context:
space:
mode:
authortgrogers <[email protected]>2017-11-18 08:51:43 -0500
committertgrogers <[email protected]>2017-11-18 08:51:43 -0500
commita2b163e4476387df8693c1a784cf094f8868a086 (patch)
tree795ee670db8a66da8d13f3ae73e9d24ddd542602 /src/gpgpu-sim/l2cache.h
parent366bab391e09ff137a0fadba09be8b823c8db57f (diff)
parentdccac457bb2263602a6a244297168cae8fda8e47 (diff)
Merging Mahmoud
Diffstat (limited to 'src/gpgpu-sim/l2cache.h')
-rw-r--r--src/gpgpu-sim/l2cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/l2cache.h b/src/gpgpu-sim/l2cache.h
index 3df54b1..2cc0e76 100644
--- a/src/gpgpu-sim/l2cache.h
+++ b/src/gpgpu-sim/l2cache.h
@@ -154,6 +154,7 @@ public:
void cache_cycle( unsigned cycle );
bool full() const;
+ bool full(unsigned size) const;
void push( class mem_fetch* mf, unsigned long long clock_cycle );
class mem_fetch* pop();
class mem_fetch* top();
@@ -207,6 +208,8 @@ private:
std::set<mem_fetch*> m_request_tracker;
friend class L2interface;
+
+ std::vector<mem_fetch*> breakdown_request_to_sector_requests(mem_fetch* mf);
};
class L2interface : public mem_fetch_interface {