File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -629,19 +629,6 @@ bool G4_Kernel::updateKernelToLargerGRF() {
629
629
return true ;
630
630
}
631
631
632
- //
633
- // Updates kernel's related structures to smaller GRF
634
- //
635
- bool G4_Kernel::updateKernelToSmallerGRF () {
636
- if (numRegTotal == grfMode.getMinGRF ())
637
- return false ;
638
-
639
- // Scale number of GRFs, Acc, SWSB tokens.
640
- setKernelParameters (grfMode.moveToSmallerGRF ());
641
- fg.builder ->rebuildPhyRegPool (getNumRegTotal ());
642
- return true ;
643
- }
644
-
645
632
//
646
633
// Updates kernel's related structures based on register pressure
647
634
//
Original file line number Diff line number Diff line change @@ -215,17 +215,6 @@ class GRFMode {
215
215
return configs[currentMode].numGRF ;
216
216
}
217
217
218
- // Move GRF mode to the smaller GRF available and return the number
219
- unsigned moveToSmallerGRF () {
220
- for (auto i = currentMode - 1 ; i >= 0 ; --i) {
221
- if (configs[i].VRTEnable ) {
222
- currentMode = i;
223
- break ;
224
- }
225
- }
226
- return configs[currentMode].numGRF ;
227
- }
228
-
229
218
private:
230
219
// Parameters associated to a GRF mode
231
220
struct Config {
@@ -691,7 +680,6 @@ class G4_Kernel {
691
680
const char *getName () const { return name; }
692
681
693
682
bool updateKernelToLargerGRF ();
694
- bool updateKernelToSmallerGRF ();
695
683
void updateKernelByRegPressure (unsigned regPressure);
696
684
bool updateKernelFromNumGRFAttr ();
697
685
You can’t perform that action at this time.
0 commit comments