Enable SIMD16 drop for more platforms

Enable abort on spills to SIMD16 for more platforms.
This commit is contained in:
Stefan Ilic
2025-08-12 07:51:46 +00:00
committed by igcbot
parent 363ae09a9c
commit aac325449a
2 changed files with 5 additions and 3 deletions

View File

@ -2457,9 +2457,9 @@ SIMDStatus COpenCLKernel::checkSIMDCompileCondsForMin16(SIMDMode simdMode, EmitP
uint32_t requiredSimdSize = getReqdSubGroupSize(F, pMdUtils);
// there is a requirement for specific compilation size, we can't abort on simd32
if (requiredSimdSize != 0)
if (requiredSimdSize != 0 && !(requiredSimdSize < 32 && SIMDMode::SIMD32 == simdMode)) {
EP.m_canAbortOnSpill = false;
}
bool hasSubGroupForce = hasSubGroupIntrinsicPVC(F);
uint32_t maxPressure = getMaxPressure(F, pMdUtils);

View File

@ -186,7 +186,9 @@ public:
bool isCoreXE2() const { return (m_platformInfo.eRenderCoreFamily == IGFX_XE2_HPG_CORE); }
bool isCoreXE3() const { return (m_platformInfo.eRenderCoreFamily == IGFX_XE3_CORE); }
bool isCoreXE3() const {
return (m_platformInfo.eRenderCoreFamily == IGFX_XE3_CORE);
}
// This function checks if core is child of another core
bool isCoreChildOf(GFXCORE_FAMILY core) const { return m_platformInfo.eRenderCoreFamily >= core; }