@@ -32,12 +32,14 @@ namespace IGC
3232 bool allowVISAPreRAScheduler;
3333 bool allowLargeURBWrite;
3434 bool allowConstantCoalescing;
35+ bool allowLargeGRF;
3536 unsigned nextState;
3637 };
3738
3839 static const RetryState RetryTable[] = {
39- { true , true , false , false , true , true , true , true , true , 1 },
40- { false , true , true , true , false , false , false , false , false , 500 }
40+ // licm codSk AdrSk Slice PrivM PreRA VISAP URBWr Coals GRF
41+ { true , true , false , false , true , true , true , true , true , false , 1 },
42+ { false , true , true , true , false , false , false , false , false , true , 500 }
4143 };
4244
4345 static constexpr size_t RetryTableSize = sizeof (RetryTable) / sizeof (RetryState);
@@ -114,6 +116,12 @@ namespace IGC
114116 return RetryTable[stateId].allowConstantCoalescing ;
115117 }
116118
119+ bool RetryManager::AllowLargeGRF () const
120+ {
121+ IGC_ASSERT (stateId < RetryTableSize);
122+ return RetryTable[stateId].allowLargeGRF ;
123+ }
124+
117125 void RetryManager::SetFirstStateId (int id)
118126 {
119127 firstStateId = id;
0 commit comments