configs: Add option for mem type for GPUFS
The user will likely want to be able to specify a different type of memory for the GPU rather than using the same default for the CPU. Add the option to do that. Change-Id: I62c22f6283335c3ca3df355f8ecc4bbffa751a73 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/58390 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -518,7 +518,7 @@ def construct_gpudirs(options, system, ruby_system, network):
|
||||
dir_cntrl.responseFromMemory = MessageBuffer()
|
||||
|
||||
# Create memory controllers too
|
||||
mem_type = ObjectList.mem_list.get(options.mem_type)
|
||||
mem_type = ObjectList.mem_list.get(options.dgpu_mem_type)
|
||||
dram_intf = MemConfig.create_mem_intf(mem_type, gpu_mem_range, i,
|
||||
int(math.log(options.dgpu_num_dirs, 2)), options.cacheline_size,
|
||||
xor_low_bit)
|
||||
|
||||
Reference in New Issue
Block a user