refactor: remove not needed code

Related-To: NEO-7527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-09-27 13:56:42 +00:00
committed by Compute-Runtime-Automation
parent 027551724e
commit 03874b8815
5 changed files with 2 additions and 25 deletions

View File

@@ -181,12 +181,6 @@ bool MemorySynchronizationCommands<GfxFamily>::isBarrierWaRequired(const RootDev
template <typename GfxFamily>
inline bool GfxCoreHelperHw<GfxFamily>::preferSmallWorkgroupSizeForKernel(const size_t size, const RootDeviceEnvironment &rootDeviceEnvironment) const {
auto &productHelper = rootDeviceEnvironment.getHelper<ProductHelper>();
auto &hwInfo = *rootDeviceEnvironment.getHardwareInfo();
if (productHelper.getSteppingFromHwRevId(hwInfo) >= REVISION_B) {
return false;
}
auto defaultThreshold = 2048u;
if (DebugManager.flags.OverrideKernelSizeLimitForSmallDispatch.get() != -1) {
defaultThreshold = DebugManager.flags.OverrideKernelSizeLimitForSmallDispatch.get();