dev-amdgpu: Update deprecated ports

Change-Id: Icbc5636c33b437c7396ee27363eed1cf006f8882
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67837
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
Matthew Poremba
2023-02-09 12:03:38 -06:00
parent bb8f370e4d
commit ea9239ae09
2 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ class TLBCoalescer : public ClockedObject
public:
MemSidePort(const std::string &_name, TLBCoalescer *tlb_coalescer,
PortID _index)
: RequestPort(_name, tlb_coalescer), coalescer(tlb_coalescer),
: RequestPort(_name), coalescer(tlb_coalescer),
index(_index) { }
std::deque<PacketPtr> retries;

View File

@@ -45,11 +45,11 @@ namespace gem5
class AMDGPUMemoryManager : public ClockedObject
{
class GPUMemPort : public MasterPort
class GPUMemPort : public RequestPort
{
public:
GPUMemPort(const std::string &_name, AMDGPUMemoryManager &_gpuMemMgr)
: MasterPort(_name, &_gpuMemMgr), gpu_mem(_gpuMemMgr)
: RequestPort(_name), gpu_mem(_gpuMemMgr)
{
}