From 6088b712568ef12a63ab3fea32a33517ec26d5f7 Mon Sep 17 00:00:00 2001 From: Zbigniew Zdanowicz Date: Thu, 27 May 2021 11:51:07 +0000 Subject: [PATCH] Improve implementation of getMaxThreadsForWorkgroup method Signed-off-by: Zbigniew Zdanowicz --- shared/source/helpers/hw_helper_base.inl | 5 ----- shared/source/helpers/hw_helper_bdw_plus.inl | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shared/source/helpers/hw_helper_base.inl b/shared/source/helpers/hw_helper_base.inl index 287955ceb5..c0b3ab6c4a 100644 --- a/shared/source/helpers/hw_helper_base.inl +++ b/shared/source/helpers/hw_helper_base.inl @@ -436,11 +436,6 @@ inline uint32_t HwHelperHw::getMinimalSIMDSize() { return 8u; } -template -uint32_t HwHelperHw::getMaxThreadsForWorkgroup(const HardwareInfo &hwInfo, uint32_t maxNumEUsPerSubSlice) const { - return HwHelper::getMaxThreadsForWorkgroup(hwInfo, maxNumEUsPerSubSlice); -} - template inline bool HwHelperHw::isSpecialWorkgroupSizeRequired(const HardwareInfo &hwInfo, bool isSimulation) const { return false; diff --git a/shared/source/helpers/hw_helper_bdw_plus.inl b/shared/source/helpers/hw_helper_bdw_plus.inl index bc432c87cd..8055e62c3d 100644 --- a/shared/source/helpers/hw_helper_bdw_plus.inl +++ b/shared/source/helpers/hw_helper_bdw_plus.inl @@ -115,6 +115,11 @@ uint32_t HwHelperHw::getPlanarYuvMaxHeight() const { return planarYuvMaxHeight; } +template +uint32_t HwHelperHw::getMaxThreadsForWorkgroup(const HardwareInfo &hwInfo, uint32_t maxNumEUsPerSubSlice) const { + return HwHelper::getMaxThreadsForWorkgroup(hwInfo, maxNumEUsPerSubSlice); +} + template aub_stream::MMIOList HwHelperHw::getExtraMmioList(const HardwareInfo &hwInfo, const GmmHelper &gmmHelper) const { return {};