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).
This commit is contained in:
Bobby R. Bruce
2024-09-23 15:25:43 -07:00
committed by GitHub
parent d74d550af4
commit 2fc44a50f8
2 changed files with 2 additions and 2 deletions

View File

@@ -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")

View File

@@ -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"
)