cpu: Set SLC bit for GPU tester (#133)

This fixes issue #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
This commit is contained in:
Jason Lowe-Power
2023-07-27 07:37:52 -07:00
committed by GitHub

View File

@@ -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);