diff --git a/shared/source/helpers/hw_helper_base.inl b/shared/source/helpers/hw_helper_base.inl index 659c3e2e11..ed4726e53d 100644 --- a/shared/source/helpers/hw_helper_base.inl +++ b/shared/source/helpers/hw_helper_base.inl @@ -239,6 +239,20 @@ size_t MemorySynchronizationCommands::getSizeForPipeControlWithPostSy return pipeControlCount * getSizeForSinglePipeControl() + getSizeForAdditonalSynchronization(hwInfo); } +template +void MemorySynchronizationCommands::addAdditionalSynchronization(LinearStream &commandStream, uint64_t gpuAddress, const HardwareInfo &hwInfo) { +} + +template +inline size_t MemorySynchronizationCommands::getSizeForSingleSynchronization(const HardwareInfo &hwInfo) { + return 0u; +} + +template +inline size_t MemorySynchronizationCommands::getSizeForAdditonalSynchronization(const HardwareInfo &hwInfo) { + return 0u; +} + template uint32_t HwHelperHw::getMetricsLibraryGenId() const { return static_cast(MetricsLibraryApi::ClientGen::Gen9); diff --git a/shared/source/helpers/hw_helper_bdw_plus.inl b/shared/source/helpers/hw_helper_bdw_plus.inl index 7fedc748ed..d51bd17bdc 100644 --- a/shared/source/helpers/hw_helper_bdw_plus.inl +++ b/shared/source/helpers/hw_helper_bdw_plus.inl @@ -66,24 +66,10 @@ uint32_t HwHelperHw::calculateAvailableThreadCount(PRODUCT_FAMILY fam return threadsPerEu * euCount; } -template -void MemorySynchronizationCommands::addAdditionalSynchronization(LinearStream &commandStream, uint64_t gpuAddress, const HardwareInfo &hwInfo) { -} - template void MemorySynchronizationCommands::addPipeControlWA(LinearStream &commandStream, uint64_t gpuAddress, const HardwareInfo &hwInfo) { } -template -inline size_t MemorySynchronizationCommands::getSizeForSingleSynchronization(const HardwareInfo &hwInfo) { - return 0u; -} - -template -inline size_t MemorySynchronizationCommands::getSizeForAdditonalSynchronization(const HardwareInfo &hwInfo) { - return 0u; -} - template void MemorySynchronizationCommands::setExtraPipeControlProperties(PIPE_CONTROL &pipeControl, const HardwareInfo &hwInfo) { } diff --git a/shared/test/unit_test/helpers/ult_hw_helper.h b/shared/test/unit_test/helpers/ult_hw_helper.h index af51e8d2b9..a632e42846 100644 --- a/shared/test/unit_test/helpers/ult_hw_helper.h +++ b/shared/test/unit_test/helpers/ult_hw_helper.h @@ -13,8 +13,6 @@ namespace NEO { template struct UltMemorySynchronizationCommands : MemorySynchronizationCommands { - using MemorySynchronizationCommands::getSizeForAdditonalSynchronization; - static size_t getExpectedPipeControlCount(const HardwareInfo &hwInfo) { return (MemorySynchronizationCommands::getSizeForPipeControlWithPostSyncOperation(hwInfo) - MemorySynchronizationCommands::getSizeForAdditonalSynchronization(hwInfo)) /