Skip to content

Commit d9e5d92

Browse files
tmparkpszymich
authored andcommitted
Change metric for static profile guided trimming
Change metric for static profile guided trimming to 80 percentile frequency (cherry picked from commit 7e2d8a8)
1 parent 23b4bd8 commit d9e5d92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IGC/common/igc_flags.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,9 +598,9 @@ DECLARE_IGC_REGKEY(bool, PartitionWithFastHybridRA, false, "Enable FastRA an
598598
DECLARE_IGC_REGKEY(DWORD, UnitSizeThreshold, 3000, "Compilation unit size threshold", true)
599599
DECLARE_IGC_REGKEY(bool, StaticProfilingForPartitioning, 0, "Enable static analysis in the partitioning algorithm.", true)
600600
DECLARE_IGC_REGKEY(DWORD, PrintStaticProfilingForKernelSizeReduction, 0, "Print information about static anlaysis for partitioning", true)
601-
DECLARE_IGC_REGKEY(DWORD, MetricForKernelSizeReduction, 4, "Set 1 to active a normal distribution, 2 a long-tail distribution, and 4 an average%", true)
601+
DECLARE_IGC_REGKEY(DWORD, MetricForKernelSizeReduction, 2, "Set 1 to active a normal distribution, 2 a long-tail distribution, and 4 an average%", true)
602602
DECLARE_IGC_REGKEY(bool, BlockFrequencySampling, true, "Use block frequencies to derive a distribution", true)
603-
DECLARE_IGC_REGKEY(DWORD, ParameterForColdFuncThreshold, 1, "C/10-STD for a normal distribution / low K% for a long-tail distribution", true)
603+
DECLARE_IGC_REGKEY(DWORD, ParameterForColdFuncThreshold, 80, "C/10-STD for a normal distribution / low K% for a long-tail distribution", true)
604604
DECLARE_IGC_REGKEY(bool, ControlUnitSize, false, "Control compilation unit size by unit trimming", true)
605605
DECLARE_IGC_REGKEY(DWORD, ExpandedUnitSizeThreshold, 50000, "Trimming target of compilation unit size", true)
606606
DECLARE_IGC_REGKEY(DWORD, PrintControlUnitSize, 0, "Print information about unit trimming", true)

0 commit comments

Comments
 (0)