From ff7e67ee9340992fe405135b6b70243a44982c57 Mon Sep 17 00:00:00 2001 From: Matthew Poremba Date: Wed, 26 Jul 2023 21:15:53 -0500 Subject: [PATCH] cpu: Set SLC bit for GPU tester This fixes #131 by reverting to the old behavior of performing all atomics at the system level. To do this the SLC bit needs to be set for all atomic requests. Change-Id: I63f4e449be1b02c933832d09700237f8c8026f4c --- src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc b/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc index ae4078ee6c..0fcfba7a37 100644 --- a/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc +++ b/src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc @@ -189,6 +189,7 @@ GpuWavefront::issueAtomicOps() AtomicOpFunctorPtr(amo_op)); req->setPaddr(address); req->setReqInstSeqNum(tester->getActionSeqNum()); + req->setCacheCoherenceFlags(Request::SLC_BIT); // set protocol-specific flags setExtraRequestFlags(req);