mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
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:
committed by
Compute-Runtime-Automation
parent
3ac5853e8d
commit
685b9396d4
@@ -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"
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user