From 47e1a8a3a45203c34a93672a1b1bd742dc193183 Mon Sep 17 00:00:00 2001 From: Mahmoud Date: Sat, 23 May 2020 22:45:28 -0400 Subject: code refomratting --- src/gpgpu-sim/l2cache.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpgpu-sim/l2cache.cc') diff --git a/src/gpgpu-sim/l2cache.cc b/src/gpgpu-sim/l2cache.cc index 6651b21..b7b5745 100644 --- a/src/gpgpu-sim/l2cache.cc +++ b/src/gpgpu-sim/l2cache.cc @@ -793,9 +793,9 @@ 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); - if ( mf && mf->isatomic() && !m_gpu->get_config().is_trace_driven_mode() ){ - mf->do_atomic(); - } + if (mf && mf->isatomic() && !m_gpu->get_config().is_trace_driven_mode()) { + mf->do_atomic(); + } if (mf && (mf->get_access_type() == L2_WRBK_ACC || mf->get_access_type() == L1_WRBK_ACC)) { delete mf; -- cgit v1.3