Skip to content

Commit 114a212

Browse files
jfuentesigcbot
authored andcommitted
Relax condition for spill threshol
1 parent ed6bbe4 commit 114a212

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visa/G4_Kernel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,10 +2253,10 @@ bool GRFMode::hasSmallerGRFSameThreads() const {
22532253
unsigned GRFMode::getSpillThreshold() const {
22542254
if (platform < Xe3)
22552255
return 0;
2256-
// FIXME: currently spill thresholds for <128GRF are
2256+
// FIXME: currently spill thresholds for <96GRF are
22572257
// causing some performance regressions. We need more
22582258
// study to define proper thresholds for this range.
2259-
if (configs[currentMode].numGRF < 128)
2259+
if (configs[currentMode].numGRF < 96)
22602260
return 0;
22612261
if (configs[currentMode].numGRF == 256 &&
22622262
options->getuInt32Option(vISA_SpillAllowed256GRF) > 0)

0 commit comments

Comments
 (0)