configs, gpu-compute: Add configurable L1 scalar latencies
Previously the scalar cache path used the same latency parameter as the vector cache path for memory requests. This commit adds new parameters for the scalar cache path latencies. This commit also modifies the model to use the new latency parameter to set the memory request latency in the scalar cache. The new paramters are '--scalar-mem-req-latency' and '--scalar-mem-resp-latency' and are set to default values of 50 and 0 respectively Change-Id: I7483f780f2fc0cfbc320ed1fd0c2ee3e2dfc7af2 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/65511 Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
committed by
VISHNU RAMADAS
parent
78b978686c
commit
dff879cf21
@@ -275,6 +275,21 @@ parser.add_argument(
|
||||
default=50,
|
||||
help="Latency for responses from ruby to the cu.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--scalar-mem-req-latency",
|
||||
type=int,
|
||||
default=50,
|
||||
help="Latency for scalar requests from the cu to ruby.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--scalar-mem-resp-latency",
|
||||
type=int,
|
||||
# Set to 0 as the scalar cache response path does not model
|
||||
# response latency yet and this parameter is currently not used
|
||||
default=0,
|
||||
help="Latency for scalar responses from ruby to the cu.",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--TLB-prefetch", type=int, help="prefetch depth for" "TLBs"
|
||||
)
|
||||
@@ -463,6 +478,8 @@ for i in range(n_cu):
|
||||
vrf_lm_bus_latency=args.vrf_lm_bus_latency,
|
||||
mem_req_latency=args.mem_req_latency,
|
||||
mem_resp_latency=args.mem_resp_latency,
|
||||
scalar_mem_req_latency=args.scalar_mem_req_latency,
|
||||
scalar_mem_resp_latency=args.scalar_mem_resp_latency,
|
||||
localDataStore=LdsState(
|
||||
banks=args.numLdsBanks,
|
||||
bankConflictPenalty=args.ldsBankConflictPenalty,
|
||||
|
||||
Reference in New Issue
Block a user