mirror of
https://github.com/intel/intel-graphics-compiler.git
synced 2025-11-04 08:21:06 +08:00
Enable SIMD16 drop for more platforms
Enable abort on spills to SIMD16 for more platforms.
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user