gpu-compute: Number of TLBs equal to number of CUs
authorgauravjain14 <gjain6@wisc.edu>
Mon, 7 Oct 2019 05:18:44 +0000 (00:18 -0500)
committerMatt Sinclair <mattdsinclair@gmail.com>
Fri, 11 Dec 2020 05:03:40 +0000 (05:03 +0000)
commitfd039eba2032683892aec716c39908141dbd49d9
tree95f7c088912cd3566070024ec740fa7d721b18d3
parent7fba0fb207448d995af346f4f0b63cbc7365b165
gpu-compute: Number of TLBs equal to number of CUs

The n_cu variable in GPUTLBConifig.py did not take
the number of CUs into consideration and instead
calculated the number of TLBs using cu_per_sa,
sa_per_complex, num_gpu_complexes. Thus changing
the number of cus (n_cus) and none of the other flags
resulted in a  segmentation fault since the required
TLBs were not being instantiated

Change-Id: I569a4e6dc7db9b7a81aeede5ac68aacc0f400a5e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32035
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Alexandru Duțu <alexandru.dutu@amd.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/common/GPUTLBConfig.py