Skip to content

Commit 0ebbf12

Browse files
jfuentesigcbot
authored andcommitted
Small spill threshold condition update
1 parent 8a939cf commit 0ebbf12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/GraphColor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@ bool GlobalRA::canIncreaseGRF(unsigned spillSize, bool infCostSpilled) {
21472147
// - #GRFs selected and next larger one has same number of threads, or
21482148
// - Spill size is above threshold
21492149
if ((infCostSpilled || kernel.grfMode.hasLargerGRFSameThreads() ||
2150-
spillSize >= kernel.grfMode.getSpillThreshold()) &&
2150+
spillSize > kernel.grfMode.getSpillThreshold()) &&
21512151
!didGRFIncrease) {
21522152
if (kernel.updateKernelToLargerGRF()) {
21532153
// GRF successfully increased

0 commit comments

Comments
 (0)