Skip to content

Commit

Permalink
configs: fix sms pht_pf_level=2 when --kmh-align is set.
Browse files Browse the repository at this point in the history
Change-Id: I54bd4ce827dae005faa0d709a44f66fa1f8db926
  • Loading branch information
zephyrols committed Dec 23, 2024
1 parent 0a79459 commit 9fa579c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/common/PrefetcherConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fa579c

Please sign in to comment.