diff --git a/gpu-simulator/trace-driven/trace_driven.cc b/gpu-simulator/trace-driven/trace_driven.cc index 19830c7c0..2c21acc14 100644 --- a/gpu-simulator/trace-driven/trace_driven.cc +++ b/gpu-simulator/trace-driven/trace_driven.cc @@ -275,8 +275,9 @@ bool trace_warp_inst_t::parse_from_trace_struct( // Add for LDGSTS instruction if (m_opcode == OP_LDGSTS) m_is_ldgsts = true; // check the cache scope, if its strong GPU, then bypass L1 - if (trace.check_opcode_contain(opcode_tokens, "STRONG") && - trace.check_opcode_contain(opcode_tokens, "GPU")) { + if ((trace.check_opcode_contain(opcode_tokens, "STRONG") && + trace.check_opcode_contain(opcode_tokens, "GPU")) || + trace.check_opcode_contain(opcode_tokens, "BYPASS")) { cache_op = CACHE_GLOBAL; } break;