Skip to content

Commit

Permalink
dev-amdgpu: Update deprecated ports
Browse files Browse the repository at this point in the history
Change-Id: Icbc5636c33b437c7396ee27363eed1cf006f8882
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67837
Maintainer: Matt Sinclair <[email protected]>
Tested-by: kokoro <[email protected]>
Reviewed-by: Matt Sinclair <[email protected]>
  • Loading branch information
abmerop committed Feb 14, 2023
1 parent bb8f370 commit ea9239a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/arch/amdgpu/common/tlb_coalescer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/dev/amdgpu/memory_manager.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit ea9239a

Please sign in to comment.