Skip to content

Commit

Permalink
Reduce one test
Browse files Browse the repository at this point in the history
  • Loading branch information
syifan committed Dec 18, 2023
1 parent e9b00cf commit 229e88b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions samples/runner/emugpubuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,13 @@ func (b *EmuGPUBuilder) buildComputeUnits() {
}

func (b *EmuGPUBuilder) buildMemory() {
b.gpuMem = idealmemcontroller.New(
b.gpuName+".GlobalMem", b.engine, b.memCapacity)
b.gpuMem.Freq = 1 * sim.GHz
b.gpuMem.Latency = 1
b.gpuMem.Storage = b.storage
b.gpuMem = idealmemcontroller.
MakeBuilder().
WithStorage(b.storage).
WithEngine(b.engine).
WithFreq(1 * sim.GHz).
WithLatency(1).
Build(b.gpuName + ".GlobalMem")

if b.enableMemTracing {
file, _ := os.Create("mem.trace")
Expand Down
2 changes: 1 addition & 1 deletion tests/deterministic/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TestCase("empty_kernel", "empty_kernel", ""),
TestCase("memcopy", "memcopy", ""),
TestCase("../../samples/fir", "fir", "-length=64"),
TestCase("../../samples/fir", "fir", "-length=65536"),
# TestCase("../../samples/fir", "fir", "-length=65536"),
]


Expand Down

0 comments on commit 229e88b

Please sign in to comment.