mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
refactor: remove not needed code
Related-To: NEO-7527 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
027551724e
commit
03874b8815
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user