fix: disable l0 usm reuse, xe3

Related-To: NEO-6893, HSD-18042686324

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2025-07-14 10:17:23 +00:00
committed by Compute-Runtime-Automation
parent 7bd6858b42
commit a683caa2fc
2 changed files with 4 additions and 4 deletions

View File

@@ -74,12 +74,12 @@ bool ProductHelperHw<gfxProduct>::isResolveDependenciesByPipeControlsSupported(c
template <>
bool ProductHelperHw<gfxProduct>::isDeviceUsmAllocationReuseSupported() const {
return true;
return ApiSpecificConfig::OCL == ApiSpecificConfig::getApiType();
}
template <>
bool ProductHelperHw<gfxProduct>::isHostUsmAllocationReuseSupported() const {
return true;
return ApiSpecificConfig::OCL == ApiSpecificConfig::getApiType();
}
} // namespace NEO

View File

@@ -92,7 +92,7 @@ XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenCheckingIsUsmReuseSup
}
{
VariableBackup<ApiSpecificConfig::ApiType> backup(&apiTypeForUlts, ApiSpecificConfig::L0);
EXPECT_TRUE(productHelper->isHostUsmAllocationReuseSupported());
EXPECT_TRUE(productHelper->isDeviceUsmAllocationReuseSupported());
EXPECT_FALSE(productHelper->isHostUsmAllocationReuseSupported());
EXPECT_FALSE(productHelper->isDeviceUsmAllocationReuseSupported());
}
}