VISHNU RAMADAS has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/63971?usp=email )
Change subject: configs, gpu-compute: Add configurable L1 access latencies
......................................................................
configs, gpu-compute: Add configurable L1 access latencies
Previously the L1 request and response latencies were not configurable
in the GPU config scripts. As a result, the simulations used the default
values from GPU.py. This commits adds support to change this value as an
input parameter. The parameters to use are "--mem_req_latency" followed
by the value and "--mem_resp_latency" followed by the value. The default
values are the same as those in GPU.py (which is 50).
Change-Id: I812d77758ea12530899953f308c91f4c8b05866d
---
M configs/example/apu_se.py
1 file changed, 30 insertions(+), 0 deletions(-)
diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py
index 16e3365..d1a9ec3 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -264,6 +264,18 @@
help="Latency while accessing shared memory",
)
parser.add_argument(
+ "--mem_req_latency",
+ type=int,
+ default=50,
+ help="Latency for requests from the cu to ruby.",
+)
+parser.add_argument(
+ "--mem_resp_latency",
+ type=int,
+ default=50,
+ help="Latency for responses from ruby to the cu.",
+)
+parser.add_argument(
"--TLB-prefetch", type=int, help="prefetch depth for" "TLBs"
)
parser.add_argument(
@@ -449,6 +461,8 @@
countPages=args.countPages,
max_cu_tokens=args.max_cu_tokens,
vrf_lm_bus_latency=args.vrf_lm_bus_latency,
+ mem_req_latency=args.mem_req_latency,
+ mem_resp_latency=args.mem_resp_latency,
localDataStore=LdsState(
banks=args.numLdsBanks,
bankConflictPenalty=args.ldsBankConflictPenalty,
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/63971?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I812d77758ea12530899953f308c91f4c8b05866d
Gerrit-Change-Number: 63971
Gerrit-PatchSet: 1
Gerrit-Owner: VISHNU RAMADAS <vrama...@wisc.edu>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org