summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.cc
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2020-05-26 15:12:38 -0400
committerMahmoud <[email protected]>2020-05-26 15:12:38 -0400
commit7ebe47ac5d1f0255527a27a9bb7cd3c29fa9f6e3 (patch)
tree487285b9b273b20cbb7d929b85148a57a1982d59 /src/gpgpu-sim/l2cache.cc
parent000631e85a91caef9ef8e6aa11551265655cff39 (diff)
splitting the trace-diven from the gpgpu-sim
Diffstat (limited to 'src/gpgpu-sim/l2cache.cc')
-rw-r--r--src/gpgpu-sim/l2cache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/l2cache.cc b/src/gpgpu-sim/l2cache.cc
index b7b5745..7fed99b 100644
--- a/src/gpgpu-sim/l2cache.cc
+++ b/src/gpgpu-sim/l2cache.cc
@@ -793,6 +793,7 @@ void memory_sub_partition::push(mem_fetch *m_req, unsigned long long cycle) {
mem_fetch *memory_sub_partition::pop() {
mem_fetch *mf = m_L2_icnt_queue->pop();
m_request_tracker.erase(mf);
+ // in trace-driven mode, we bypass the atomic functional model
if (mf && mf->isatomic() && !m_gpu->get_config().is_trace_driven_mode()) {
mf->do_atomic();
}