mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
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:
committed by
Compute-Runtime-Automation
parent
7bd6858b42
commit
a683caa2fc
@@ -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
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user