From 08a802b986b9882c0467f2dfeb36ff4db7a0f900 Mon Sep 17 00:00:00 2001 From: Yuwei Sun Date: Thu, 5 Dec 2024 14:00:25 +0000 Subject: [PATCH] fix bugs --- samples/runner/emuplatform.go | 3 +-- samples/runner/r9nanobuilder.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/runner/emuplatform.go b/samples/runner/emuplatform.go index c1b9c32e..be08f308 100644 --- a/samples/runner/emuplatform.go +++ b/samples/runner/emuplatform.go @@ -98,8 +98,7 @@ func (b EmuBuilder) Build() *Platform { gpuDriver.RegisterGPU(cpPort, driver.DeviceProperties{ DRAMSize: 4 * mem.GB, CUCount: 64, - }, - gpuBuilder.pageTable) + }) connection.PlugIn(cpPort, 64) b.gpus = append(b.gpus, gpu) diff --git a/samples/runner/r9nanobuilder.go b/samples/runner/r9nanobuilder.go index 96299628..a508ac56 100644 --- a/samples/runner/r9nanobuilder.go +++ b/samples/runner/r9nanobuilder.go @@ -82,7 +82,7 @@ type R9NanoGPUBuilder struct { l2ToDramConnection *sim.DirectConnection gmmuCache *tlb.TLB - gmmu *gmmu.GMMU + gmmu *gmmu.Comp pageTable vm.PageTable }