Skip to content

Commit 35a8403

Browse files
fftzengsys_zuul
authored and
sys_zuul
committed
modify CS simd32 heuristic
Change-Id: Iea30efb04da332f3ed8ac92d87197620cc607863
1 parent 3c759d0 commit 35a8403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CISACodeGen/ComputeShaderCodeGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ namespace IGC
443443
float occu16 = ctx->GetThreadOccupancy(SIMDMode::SIMD16);
444444
float occu32 = ctx->GetThreadOccupancy(SIMDMode::SIMD32);
445445
if (!ctx->isSecondCompile &&
446-
(occu32 >= occu16 ||
446+
(occu32 > occu16 ||
447447
(occu32 == occu16 && ctx->m_instrTypes.hasBarrier)))
448448
{
449449
return true;

0 commit comments

Comments
 (0)