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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <>
|
||||||
|
inline bool HwHelperHw<Family>::isLinuxCompletionFenceSupported() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace NEO
|
} // namespace NEO
|
||||||
|
|
||||||
#include "shared/source/helpers/hw_helper_pvc_and_later.inl"
|
#include "shared/source/helpers/hw_helper_pvc_and_later.inl"
|
||||||
|
|||||||
@@ -68,4 +68,9 @@ XE_HPC_CORETEST_F(HwHelperXeHpcCoreTest, givenHwHelperWhenCheckTimestampWaitSupp
|
|||||||
XE_HPC_CORETEST_F(HwHelperXeHpcCoreTest, givenXeHPCPlatformWhenCheckAssignEngineRoundRobinSupportedThenReturnTrue) {
|
XE_HPC_CORETEST_F(HwHelperXeHpcCoreTest, givenXeHPCPlatformWhenCheckAssignEngineRoundRobinSupportedThenReturnTrue) {
|
||||||
auto &hwHelper = HwHelperHw<FamilyType>::get();
|
auto &hwHelper = HwHelperHw<FamilyType>::get();
|
||||||
EXPECT_TRUE(hwHelper.isAssignEngineRoundRobinSupported());
|
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