From 9fa579cfadf3ad3766dbda35c0b2e06eaa0af996 Mon Sep 17 00:00:00 2001 From: QiuZeyuan Date: Mon, 23 Dec 2024 19:41:29 +0800 Subject: [PATCH] configs: fix sms pht_pf_level=2 when --kmh-align is set. Change-Id: I54bd4ce827dae005faa0d709a44f66fa1f8db926 --- configs/common/PrefetcherConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/common/PrefetcherConfig.py b/configs/common/PrefetcherConfig.py index 5aeefc2d27..e7516993ce 100644 --- a/configs/common/PrefetcherConfig.py +++ b/configs/common/PrefetcherConfig.py @@ -30,7 +30,7 @@ def create_prefetcher(cpu, cache_level, options): prefetcher.enable_spp = True if options.l1d_enable_cplx: prefetcher.enable_cplx = True - prefetcher.pht_pf_level = options.pht_pf_level + prefetcher.pht_pf_level = 2 if options.kmh_align else options.pht_pf_level prefetcher.short_stride_thres = options.short_stride_thres prefetcher.enable_temporal = not options.kmh_align prefetcher.fuzzy_stride_matching = False