From 2fc44a50f83e6ceed08abd1494eb6bda398cf8fa Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Mon, 23 Sep 2024 15:25:43 -0700 Subject: [PATCH] gpu-compute: Fix '64kB' to '64KiB' in gpu-compute (#1594) 64kB, in these cases, will cast to 64KiB regardless. To improve readability and understanding of these objects, this patch changes there SI Prefix (kB -> KiB). --- src/gpu-compute/GPU.py | 2 +- src/gpu-compute/LdsState.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpu-compute/GPU.py b/src/gpu-compute/GPU.py index e7b88bee38..b7284edf7a 100644 --- a/src/gpu-compute/GPU.py +++ b/src/gpu-compute/GPU.py @@ -310,7 +310,7 @@ class Shader(ClockedObject): """Insert rel packet into ruby at kernel end""", ) - globalmem = Param.MemorySize("64kB", "Memory size") + globalmem = Param.MemorySize("64KiB", "Memory size") timing = Param.Bool(False, "timing memory accesses") cpu_pointer = Param.BaseCPU(NULL, "pointer to base CPU") diff --git a/src/gpu-compute/LdsState.py b/src/gpu-compute/LdsState.py index e57ed9cc5b..a2b4ca887d 100644 --- a/src/gpu-compute/LdsState.py +++ b/src/gpu-compute/LdsState.py @@ -38,7 +38,7 @@ class LdsState(ClockedObject): cxx_class = "gem5::LdsState" cxx_header = "gpu-compute/lds_state.hh" size = Param.Int(65536, "the size of the LDS") - range = Param.AddrRange("64kB", "address space of the LDS") + range = Param.AddrRange("64KiB", "address space of the LDS") bankConflictPenalty = Param.Int( 1, "penalty per LDS bank conflict when accessing data" )