connect hardware support with front end properties state management

Related-To: NEO-5019

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2022-08-29 20:06:04 +00:00
committed by Compute-Runtime-Automation
parent ee8af85341
commit 816e059c66
39 changed files with 337 additions and 43 deletions

View File

@@ -44,10 +44,10 @@ struct StateComputeModeProperties {
};
struct FrontEndPropertiesSupport {
bool dispatchAllWalker = false;
bool euFusion = false;
bool overdispatch = false;
bool singleSliceDispatchCcs = false;
bool computeDispatchAllWalker = false;
bool disableEuFusion = false;
bool disableOverdispatch = false;
bool singleSliceDispatchCcsMode = false;
};
struct FrontEndProperties {
@@ -56,13 +56,16 @@ struct FrontEndProperties {
StreamProperty disableOverdispatch{};
StreamProperty singleSliceDispatchCcsMode{};
void setProperties(bool isCooperativeKernel, bool disableEUFusion, bool disableOverdispatch, int32_t engineInstancedDevice,
const HardwareInfo &hwInfo);
void setProperties(bool isCooperativeKernel, bool disableEUFusion, bool disableOverdispatch, int32_t engineInstancedDevice, const HardwareInfo &hwInfo);
void setProperties(const FrontEndProperties &properties);
void setPropertySingleSliceDispatchCcsMode(int32_t engineInstancedDevice, const HardwareInfo &hwInfo);
bool isDirty() const;
protected:
void clearIsDirty();
FrontEndPropertiesSupport frontEndPropertiesSupport = {};
bool propertiesSupportLoaded = false;
};
} // namespace NEO