mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
fix: remove local dispatch support
Related-To: NEO-14561 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e3e1ae0def
commit
575fe7fe33
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user