Skip to content

Commit 90e1a55

Browse files
pkwasnie-inteligcbot
authored andcommitted
enable GEP LSR pass only for HPC platforms
Enable GEP LSR pass only for HPC platforms.
1 parent dcc3a44 commit 90e1a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ void OptimizeIR(CodeGenContext* const pContext)
14921492
}
14931493

14941494
if (pContext->type == ShaderType::OPENCL_SHADER &&
1495-
pContext->platform.isCoreChildOf(IGFX_XE_HPC_CORE) &&
1495+
pContext->platform.getPlatformInfo().eProductFamily == IGFX_PVC &&
14961496
!useStatelessToStateful(*pContext) &&
14971497
pContext->m_retryManager.IsFirstTry())
14981498
{

0 commit comments

Comments
 (0)