arch-vega: Remove ASID parameter from Requests
The ASID parameter was removed from the Request class header while the Vega patches were under review and these were not updated. Change-Id: Ie04027bac09a63063501a49ec438b69628972b2d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47101 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
@@ -84,15 +84,15 @@ initMemReqHelper(GPUDynInstPtr gpuDynInst, MemCmd mem_req_type,
|
||||
// a given lane's atomic can't cross cache lines
|
||||
assert(!misaligned_acc);
|
||||
|
||||
req = std::make_shared<Request>(0, vaddr, sizeof(T), 0,
|
||||
gpuDynInst->computeUnit()->masterId(), 0,
|
||||
req = std::make_shared<Request>(vaddr, sizeof(T), 0,
|
||||
gpuDynInst->computeUnit()->requestorId(), 0,
|
||||
gpuDynInst->wfDynId,
|
||||
gpuDynInst->makeAtomicOpFunctor<T>(
|
||||
&(reinterpret_cast<T*>(gpuDynInst->a_data))[lane],
|
||||
&(reinterpret_cast<T*>(gpuDynInst->x_data))[lane]));
|
||||
} else {
|
||||
req = std::make_shared<Request>(0, vaddr, req_size, 0,
|
||||
gpuDynInst->computeUnit()->masterId(), 0,
|
||||
req = std::make_shared<Request>(vaddr, req_size, 0,
|
||||
gpuDynInst->computeUnit()->requestorId(), 0,
|
||||
gpuDynInst->wfDynId);
|
||||
}
|
||||
|
||||
@@ -155,8 +155,8 @@ initMemReqScalarHelper(GPUDynInstPtr gpuDynInst, MemCmd mem_req_type)
|
||||
*/
|
||||
bool misaligned_acc = split_addr > vaddr;
|
||||
|
||||
RequestPtr req = std::make_shared<Request>(0, vaddr, req_size, 0,
|
||||
gpuDynInst->computeUnit()->masterId(), 0,
|
||||
RequestPtr req = std::make_shared<Request>(vaddr, req_size, 0,
|
||||
gpuDynInst->computeUnit()->requestorId(), 0,
|
||||
gpuDynInst->wfDynId);
|
||||
|
||||
if (misaligned_acc) {
|
||||
|
||||
@@ -554,9 +554,10 @@ namespace VegaISA
|
||||
// create request and set flags
|
||||
gpuDynInst->resetEntireStatusVector();
|
||||
gpuDynInst->setStatusVector(0, 1);
|
||||
auto req = std::make_shared<Request>(0, 0, 0, 0,
|
||||
gpuDynInst->computeUnit()->masterId(),
|
||||
0, gpuDynInst->wfDynId);
|
||||
RequestPtr req = std::make_shared<Request>(0, 0, 0,
|
||||
gpuDynInst->computeUnit()->
|
||||
requestorId(), 0,
|
||||
gpuDynInst->wfDynId);
|
||||
gpuDynInst->setRequestFlags(req);
|
||||
gpuDynInst->computeUnit()->
|
||||
injectGlobalMemFence(gpuDynInst, false, req);
|
||||
|
||||
Reference in New Issue
Block a user