feature: enable linux completion fence on Xe Hpc

Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-05-20 11:02:05 +00:00
committed by Compute-Runtime-Automation
parent 3ac5853e8d
commit 685b9396d4
2 changed files with 11 additions and 1 deletions

View File

@@ -449,6 +449,11 @@ bool HwHelperHw<Family>::isPatIndexFallbackWaRequired() const {
return true;
}
template <>
inline bool HwHelperHw<Family>::isLinuxCompletionFenceSupported() const {
return true;
}
} // namespace NEO
#include "shared/source/helpers/hw_helper_pvc_and_later.inl"

View File

@@ -69,3 +69,8 @@ XE_HPC_CORETEST_F(HwHelperXeHpcCoreTest, givenXeHPCPlatformWhenCheckAssignEngine
auto &hwHelper = HwHelperHw<FamilyType>::get();
EXPECT_TRUE(hwHelper.isAssignEngineRoundRobinSupported());
}
XE_HPC_CORETEST_F(HwHelperXeHpcCoreTest, givenHwHelperWhenGettingLinuxCompletionFenceSupportThenTrueIsReturned) {
auto &hwHelper = NEO::HwHelper::get(defaultHwInfo->platform.eRenderCoreFamily);
EXPECT_TRUE(hwHelper.isLinuxCompletionFenceSupported());
}