From 5f2a26701f7923f025a2e59033d83d4ff5d9f495 Mon Sep 17 00:00:00 2001 From: Kyle Roarty Date: Thu, 18 Aug 2022 18:04:48 -0500 Subject: [PATCH] configs: Add CLA for max_cu_tokens to apu_se.py Adds a command-line argument for the Compute Unit's maximum number of coalescer tokens Change-Id: Ie00c3ac7e28ad162b801643bff345b4cf434a878 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62551 Tested-by: kokoro Maintainer: Matthew Poremba Reviewed-by: Matt Sinclair Reviewed-by: Matthew Poremba Maintainer: Matt Sinclair --- configs/example/apu_se.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py index 29bb452c69..ffd2578e3d 100644 --- a/configs/example/apu_se.py +++ b/configs/example/apu_se.py @@ -249,6 +249,11 @@ parser.add_argument( action="store_true", help="Count Page Accesses and output in per-CU output files", ) +parser.add_argument( + "--max-cu-tokens", + type=int, + help="Number of coalescer tokens per CU", +) parser.add_argument( "--TLB-prefetch", type=int, help="prefetch depth for" "TLBs" ) @@ -433,6 +438,7 @@ for i in range(n_cu): functionalTLB=args.FunctionalTLB, localMemBarrier=args.LocalMemBarrier, countPages=args.countPages, + max_cu_tokens=args.max_cu_tokens, localDataStore=LdsState( banks=args.numLdsBanks, bankConflictPenalty=args.ldsBankConflictPenalty,