Skip to content

Commit e6c9f8e

Browse files
houjenkoigcbot
authored andcommitted
Using least SIMD size for FastestSIMD in CS
Using least SIMD size for FastestSIMD in CS
1 parent 1248544 commit e6c9f8e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,10 +1431,9 @@ void CodeGen(ComputeShaderContext* ctx, CShaderProgram::KernelShaderMap& shaders
14311431
ctx->SetSIMDInfo(SIMD_SKIP_HW, SIMDMode::SIMD32, ShaderDispatchMode::NOT_APPLICABLE);
14321432
}
14331433
}
1434-
else if (ctx->getCompilerOption().ForceMinSimdSizeForFastestCS &&
1435-
(IsStage1FastCompile(ctx->m_CgFlag, ctx->m_StagingCtx) ||
1434+
else if (IsStage1FastCompile(ctx->m_CgFlag, ctx->m_StagingCtx) ||
14361435
IsStage1FastestCompile(ctx->m_CgFlag, ctx->m_StagingCtx) ||
1437-
IGC_GET_FLAG_VALUE(ForceFastestSIMD)))
1436+
IGC_GET_FLAG_VALUE(ForceFastestSIMD))
14381437
{
14391438
AddCodeGenPasses(*ctx, shaders, PassMgr, minSimdModeAllowed, false);
14401439
}

0 commit comments

Comments
 (0)