Skip to content

Commit 1657e91

Browse files
kychendevigcbot
authored andcommitted
Enable GRF spill/fill space compression by default for 3D.
Remove the spill size heuristic for 3D workloads so spill space compression is always enabled by default.
1 parent 8b6e77d commit 1657e91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

visa/GraphColor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10707,8 +10707,7 @@ GlobalRA::insertSpillCode(bool enableSpillSpaceCompression,
1070710707
if (getIterNo() == 0 && enableSpillSpaceCompression &&
1070810708
kernel.getInt32KernelAttr(Attributes::ATTR_Target) == VISA_3D &&
1070910709
!hasStackCall) {
10710-
enableSpillSpaceCompression = spillSpaceCompression(
10711-
computeSpillSize(coloring.getSpilledLiveRanges()), globalScratchOffset);
10710+
enableSpillSpaceCompression = true;
1071210711
}
1071310712

1071410713
startTimer(TimerID::SPILL);

0 commit comments

Comments
 (0)