You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add caching for register pressure estimation, real uses computation
and values size
- Implement fragmentation-aware register pressure adjustment heuristic for large loads
- Add new heuristic for prioritizing loads that unlock DPAS instructions
- Fix initial register pressure estimation for hoisted loads and corresponding IEs in BBIn
- Fix ftobf regpressure estimation
- Some changes of the whole scheduling workflow to take advantage of the
backtracking
- Add new heuristic to put instructions between the load and the subsequent shuffling to hide latency
Copy file name to clipboardExpand all lines: IGC/Compiler/CISACodeGen/CodeSchedulingOptionsDef.h
+59-16Lines changed: 59 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -11,44 +11,87 @@ SPDX-License-Identifier: MIT
11
11
// For the usage with IGC_CodeSchedulingConfig option, see CodeScheduling.cpp, class SchedulingConfig
12
12
// Publicly available options are in igc_flags.h, search for CodeScheduling*
13
13
14
-
// Edge weigths
14
+
// Generate default options line:
15
+
// clang-format off
16
+
// python3 -c "print('IGC_CodeSchedulingConfig=\"' + ';'.join([line.split(',')[1].strip() for line in open('CodeSchedulingOptionsDef.h') if line.strip().startswith('DECLARE_SCHEDULING_OPTION')]) + '\"')"
17
+
// clang-format on
18
+
19
+
// Edge weights
15
20
DECLARE_SCHEDULING_OPTION(DefaultWeight, 10, "Default edge weight for dependency graph")
16
21
DECLARE_SCHEDULING_OPTION(UseHighRPWeight, 1, "Use alternative weights when register pressure is high")
17
-
DECLARE_SCHEDULING_OPTION(Weight2dBlockReadSrcDep, 300, "Edge weight for 2D block read source dependency")
18
-
DECLARE_SCHEDULING_OPTION(Weight2dBlockReadDstDep, 3000, "Edge weight for 2D block read destination dependency")
22
+
DECLARE_SCHEDULING_OPTION(Weight2dBlockReadSrcDep, 0, "Edge weight for 2D block read source dependency")
23
+
DECLARE_SCHEDULING_OPTION(Weight2dBlockReadDstDep, 30000, "Edge weight for 2D block read destination dependency")
0 commit comments