@@ -45,6 +45,8 @@ void StateComputeModeProperties::setProperties(bool requiresCoherency, uint32_t
4545 threadArbitrationPolicy = DebugManager.flags .OverrideThreadArbitrationPolicy .get ();
4646 }
4747 this ->threadArbitrationPolicy .set (threadArbitrationPolicy);
48+
49+ setPropertiesExtra ();
4850}
4951
5052void StateComputeModeProperties::setProperties (const StateComputeModeProperties &properties) {
@@ -55,11 +57,13 @@ void StateComputeModeProperties::setProperties(const StateComputeModeProperties
5557 zPassAsyncComputeThreadLimit.set (properties.zPassAsyncComputeThreadLimit .value );
5658 pixelAsyncComputeThreadLimit.set (properties.pixelAsyncComputeThreadLimit .value );
5759 threadArbitrationPolicy.set (properties.threadArbitrationPolicy .value );
60+
61+ setPropertiesExtra (properties);
5862}
5963
6064bool StateComputeModeProperties::isDirty () const {
6165 return isCoherencyRequired.isDirty || largeGrfMode.isDirty || zPassAsyncComputeThreadLimit.isDirty ||
62- pixelAsyncComputeThreadLimit.isDirty || threadArbitrationPolicy.isDirty ;
66+ pixelAsyncComputeThreadLimit.isDirty || threadArbitrationPolicy.isDirty || isDirtyExtra () ;
6367}
6468
6569void StateComputeModeProperties::clearIsDirty () {
@@ -68,10 +72,12 @@ void StateComputeModeProperties::clearIsDirty() {
6872 zPassAsyncComputeThreadLimit.isDirty = false ;
6973 pixelAsyncComputeThreadLimit.isDirty = false ;
7074 threadArbitrationPolicy.isDirty = false ;
75+
76+ clearIsDirtyExtra ();
7177}
7278
73- void FrontEndProperties::setProperties (bool isCooperativeKernel, bool disableEUFusion, bool disableOverdispatch, int32_t engineInstancedDevice,
74- const HardwareInfo &hwInfo) {
79+ void FrontEndProperties::setProperties (bool isCooperativeKernel, bool disableEUFusion, bool disableOverdispatch,
80+ int32_t engineInstancedDevice, const HardwareInfo &hwInfo) {
7581 clearIsDirty ();
7682
7783 this ->computeDispatchAllWalkerEnable .set (isCooperativeKernel);
@@ -90,7 +96,8 @@ void FrontEndProperties::setProperties(const FrontEndProperties &properties) {
9096}
9197
9298bool FrontEndProperties::isDirty () const {
93- return disableOverdispatch.isDirty || disableEUFusion.isDirty || singleSliceDispatchCcsMode.isDirty || computeDispatchAllWalkerEnable.isDirty ;
99+ return disableOverdispatch.isDirty || disableEUFusion.isDirty || singleSliceDispatchCcsMode.isDirty ||
100+ computeDispatchAllWalkerEnable.isDirty ;
94101}
95102
96103void FrontEndProperties::clearIsDirty () {
0 commit comments