@@ -32,12 +32,14 @@ namespace IGC
32
32
bool allowVISAPreRAScheduler;
33
33
bool allowLargeURBWrite;
34
34
bool allowConstantCoalescing;
35
+ bool allowLargeGRF;
35
36
unsigned nextState;
36
37
};
37
38
38
39
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 }
41
43
};
42
44
43
45
static constexpr size_t RetryTableSize = sizeof (RetryTable) / sizeof (RetryState);
@@ -114,6 +116,12 @@ namespace IGC
114
116
return RetryTable[stateId].allowConstantCoalescing ;
115
117
}
116
118
119
+ bool RetryManager::AllowLargeGRF () const
120
+ {
121
+ IGC_ASSERT (stateId < RetryTableSize);
122
+ return RetryTable[stateId].allowLargeGRF ;
123
+ }
124
+
117
125
void RetryManager::SetFirstStateId (int id)
118
126
{
119
127
firstStateId = id;
0 commit comments