summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim
diff options
context:
space:
mode:
authorTimothy G Rogers <[email protected]>2018-09-07 23:19:04 -0400
committerGitHub Enterprise <[email protected]>2018-09-07 23:19:04 -0400
commitf4116831d7354c80dcd3cf857fcb5be7b001d70f (patch)
tree10508d940a3fd37061759befc785ecb42c8623b3 /src/gpgpu-sim
parent738f04e8c31843855881b2e24ba318dce04be1cd (diff)
parent3082f63e86be2e115e4a071069dda8fe9452d366 (diff)
Merge pull request #23 from zhan2308/dev-purdue-integration
Add .nc option
Diffstat (limited to 'src/gpgpu-sim')
-rw-r--r--src/gpgpu-sim/shader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/shader.cc b/src/gpgpu-sim/shader.cc
index d2f40a1..533c6f9 100644
--- a/src/gpgpu-sim/shader.cc
+++ b/src/gpgpu-sim/shader.cc
@@ -1537,7 +1537,7 @@ bool ldst_unit::memory_cycle( warp_inst_t &inst, mem_stage_stall_type &stall_rea
bypassL1D = true;
} else if (inst.space.is_global()) { // global memory access
// skip L1 cache if the option is enabled
- if (m_core->get_config()->gmem_skip_L1D)
+ if (m_core->get_config()->gmem_skip_L1D && (CACHE_L1 != inst.cache_op))
bypassL1D = true;
}