summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.cc
diff options
context:
space:
mode:
authorTimothy G Rogers <[email protected]>2018-09-08 00:57:46 -0400
committerGitHub Enterprise <[email protected]>2018-09-08 00:57:46 -0400
commite4f8c0242f4b188638bafd4963117b751cef49f1 (patch)
tree0aa796972c3645e35005cc31787a9b1df7fd4051 /src/gpgpu-sim/shader.cc
parent950e981534a9e0fb057b11b5ae8d86598f8953d0 (diff)
parentf4116831d7354c80dcd3cf857fcb5be7b001d70f (diff)
Merge branch 'dev-purdue-integration' into dev-purdue-integration
Diffstat (limited to 'src/gpgpu-sim/shader.cc')
-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 51689e3..0e2e1c2 100644
--- a/src/gpgpu-sim/shader.cc
+++ b/src/gpgpu-sim/shader.cc
@@ -1642,7 +1642,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;
}