fix: remove local dispatch support

Related-To: NEO-14561

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2025-07-23 16:40:40 +00:00
committed by Compute-Runtime-Automation
parent e3e1ae0def
commit 575fe7fe33
10 changed files with 2 additions and 19 deletions

View File

@@ -432,10 +432,6 @@ struct CommandList : _ze_command_list_handle_t {
return engineGroupType;
}
bool getLocalDispatchSupport() const {
return localDispatchSupport;
}
bool isClosed() const {
return closedCmdList;
}
@@ -562,7 +558,6 @@ struct CommandList : _ze_command_list_handle_t {
bool scratchAddressPatchingEnabled = false;
bool taskCountUpdateFenceRequired = false;
bool statelessBuiltinsEnabled = false;
bool localDispatchSupport = false;
bool l3FlushAfterPostSyncRequired = false;
bool textureCacheFlushPending = false;
bool closedCmdList = false;

View File

@@ -280,7 +280,6 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::initialize(Device *device, NEO
this->defaultPipelinedThreadArbitrationPolicy = NEO::debugManager.flags.OverrideThreadArbitrationPolicy.get();
}
this->statelessBuiltinsEnabled = compilerProductHelper.isForceToStatelessRequired();
this->localDispatchSupport = productHelper.getSupportedLocalDispatchSizes(hwInfo).size() > 0;
this->commandContainer.doubleSbaWaRef() = this->doubleSbaWa;
this->commandContainer.l1CachePolicyDataRef() = &this->l1CachePolicyData;

View File

@@ -1073,7 +1073,6 @@ ze_result_t KernelImp::initialize(const ze_kernel_desc_t *desc) {
const auto &gfxHelper = rootDeviceEnvironment.getHelper<NEO::GfxCoreHelper>();
this->heaplessEnabled = rootDeviceEnvironment.getHelper<NEO::CompilerProductHelper>().isHeaplessModeEnabled(hwInfo);
this->localDispatchSupport = productHelper.getSupportedLocalDispatchSizes(hwInfo).size() > 0;
bool platformImplicitScaling = gfxHelper.platformSupportsImplicitScaling(rootDeviceEnvironment);
this->implicitScalingEnabled = NEO::ImplicitScalingHelper::isImplicitScalingEnabled(deviceBitfield, platformImplicitScaling);

View File

@@ -188,7 +188,7 @@ ze_result_t MutableCommandListImp::addVariableDispatch(const NEO::KernelDescript
perThreadData = {reinterpret_cast<uint8_t *>(ptrOffset(iohCpuBase, kernelDispatch.offsets.perThreadOffset)), perThreadDataSize};
}
bool calcRegion = base->isHeaplessModeEnabled() && base->getLocalDispatchSupport();
bool calcRegion = false;
auto mutableIndirectData = std::make_unique<MutableIndirectData>(std::move(offsets), crossThreadData, perThreadData, inlineData);
kernelDispatch.varDispatch = std::make_unique<VariableDispatch>(&kernelDispatch, std::move(mutableIndirectData), mutableComputeWalker,
groupSize, groupCount, globalOffset, lastSlmArgumentVariable,