mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
ee8af85341
commit
816e059c66
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user