Skip to content

Commit

Permalink
mem: fix bug of trainning cdp
Browse files Browse the repository at this point in the history
`enable_cdp` is set to False, causing L2 miss does not train cdp

Change-Id: If5f1dc92315533cd936d37a1d1ff77eea1d89fd6
  • Loading branch information
happy-lx committed Dec 18, 2024
1 parent 845bfb1 commit b0f9af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mem/cache/prefetch/Prefetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ class L2CompositeWithWorkerPrefetcher(CompositeWithWorkerPrefetcher):
bop_small = Param.BOPPrefetcher(SmallBOPPrefetcher(is_sub_prefetcher=True),
"Small BOP used in composite prefetcher ")
enable_bop = Param.Bool(False, "Enable BOP")
enable_cdp = Param.Bool(False, "Enable CDP")
enable_cdp = Param.Bool(True, "Enable CDP")
enable_cmc = Param.Bool(False, "Enable CMC")

class L3CompositeWithWorkerPrefetcher(CompositeWithWorkerPrefetcher):
Expand Down

0 comments on commit b0f9af3

Please sign in to comment.