refactor: remove dead code

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-09-17 09:55:30 +00:00
committed by Compute-Runtime-Automation
parent de7cd4dd0d
commit 5912b43841
33 changed files with 100 additions and 341 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2023 Intel Corporation
* Copyright (C) 2023-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -44,7 +44,7 @@ void WorkSizeInfo::setIfUseImg(const KernelInfo &kernelInfo) {
void WorkSizeInfo::setMinWorkGroupSize(const RootDeviceEnvironment &rootDeviceEnvironment, bool disableEUFusion) {
minWorkGroupSize = 0;
if (hasBarriers) {
uint32_t maxBarriersPerHSlice = (coreFamily >= IGFX_GEN9_CORE) ? 32 : 16;
uint32_t maxBarriersPerHSlice = 32;
minWorkGroupSize = numThreadsPerSubSlice * simdSize / maxBarriersPerHSlice;
}
if (slmTotalSize > 0) {
@@ -73,4 +73,4 @@ void WorkSizeInfo::checkRatio(const size_t workItems[3]) {
}
}
} // namespace NEO
} // namespace NEO