mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Revert "fix: Fix front end programming for cooperative dispatch"
This reverts commit 36ddfaaf4d.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b30b3140ec
commit
902b611179
@@ -901,7 +901,7 @@ inline void CommandStreamReceiverHw<GfxFamily>::programVFEState(LinearStream &cs
|
||||
|
||||
auto isCooperative = dispatchFlags.kernelExecutionType == KernelExecutionType::concurrent;
|
||||
auto disableOverdispatch = (dispatchFlags.additionalKernelExecInfo != AdditionalKernelExecInfo::notSet);
|
||||
this->streamProperties.frontEndState.setPropertiesAll(isCooperative, dispatchFlags.disableEUFusion, disableOverdispatch, osContext->isEngineInstanced(), this->peekRootDeviceEnvironment());
|
||||
this->streamProperties.frontEndState.setPropertiesAll(isCooperative, dispatchFlags.disableEUFusion, disableOverdispatch, osContext->isEngineInstanced());
|
||||
|
||||
auto &gfxCoreHelper = getGfxCoreHelper();
|
||||
auto engineGroupType = gfxCoreHelper.getEngineGroupType(getOsContext().getEngineType(), getOsContext().getEngineUsage(), hwInfo);
|
||||
|
||||
@@ -79,7 +79,7 @@ struct FrontEndProperties {
|
||||
void initSupport(const RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
void resetState();
|
||||
|
||||
void setPropertiesAll(bool isCooperativeKernel, bool disableEuFusion, bool disableOverdispatch, bool engineInstancedDevice, const RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
void setPropertiesAll(bool isCooperativeKernel, bool disableEuFusion, bool disableOverdispatch, int32_t engineInstancedDevice);
|
||||
void setPropertySingleSliceDispatchCcsMode(int32_t engineInstancedDevice);
|
||||
void setPropertiesDisableOverdispatchEngineInstanced(bool disableOverdispatch, int32_t engineInstancedDevice, bool clearDirtyState);
|
||||
void setPropertiesComputeDispatchAllWalkerEnableDisableEuFusion(bool isCooperativeKernel, bool disableEuFusion);
|
||||
|
||||
@@ -191,7 +191,7 @@ void FrontEndProperties::resetState() {
|
||||
this->singleSliceDispatchCcsMode.value = StreamProperty::initValue;
|
||||
}
|
||||
|
||||
void FrontEndProperties::setPropertiesAll(bool isCooperativeKernel, bool disableEuFusion, bool disableOverdispatch, bool engineInstancedDevice, const RootDeviceEnvironment &rootDeviceEnvironment) {
|
||||
void FrontEndProperties::setPropertiesAll(bool isCooperativeKernel, bool disableEuFusion, bool disableOverdispatch, int32_t engineInstancedDevice) {
|
||||
DEBUG_BREAK_IF(!this->propertiesSupportLoaded);
|
||||
clearIsDirty();
|
||||
|
||||
@@ -208,7 +208,7 @@ void FrontEndProperties::setPropertiesAll(bool isCooperativeKernel, bool disable
|
||||
}
|
||||
|
||||
if (this->frontEndPropertiesSupport.singleSliceDispatchCcsMode) {
|
||||
this->singleSliceDispatchCcsMode.set(engineInstancedDevice || (rootDeviceEnvironment.getProductHelper().isSingleSliceDispatchNeededForCooperativeKernel() && isCooperativeKernel));
|
||||
this->singleSliceDispatchCcsMode.set(engineInstancedDevice);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user