Skip to content

Commit f99cfbc

Browse files
author
Artem Gindinson
committed
Revert " Change metric for static profile guided trimming"
This reverts commit 3c5cdae.
1 parent 84fe361 commit f99cfbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IGC/common/igc_flags.h

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

0 commit comments

Comments
 (0)