Revert "fix: Return max wg count equal one on platforms without dispatch all ...

This reverts commit b8be602bfb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2025-04-17 11:06:43 +02:00
committed by Compute-Runtime-Automation
parent 66c8f86fd8
commit b96cf55985
9 changed files with 21 additions and 51 deletions

View File

@@ -31,11 +31,7 @@ bool GfxCoreHelperHw<GfxFamily>::isCooperativeDispatchSupported(const EngineGrou
template <typename GfxFamily>
uint32_t GfxCoreHelperHw<GfxFamily>::adjustMaxWorkGroupCount(uint32_t maxWorkGroupCount, const EngineGroupType engineGroupType,
const RootDeviceEnvironment &rootDeviceEnvironment) const {
if ((debugManager.flags.ForceTheoreticalMaxWorkGroupCount.get()) ||
(debugManager.flags.OverrideMaxWorkGroupCount.get() != -1)) {
return maxWorkGroupCount;
}
return 1u;
return maxWorkGroupCount;
}
template <typename GfxFamily>