mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Disable EUFusion for odd work groups with DPAS on DG2
Related-To: NEO-7495, HSD-14017007475 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4c58eda90d
commit
429be6b4cb
@@ -197,6 +197,8 @@ class ProductHelper {
|
||||
virtual uint32_t getDefaultRevisionId() const = 0;
|
||||
|
||||
virtual bool isMultiContextResourceDeferDeletionSupported() const = 0;
|
||||
virtual bool isFusedEuDisabledForDpas(bool kernelHasDpasInstructions, const uint32_t *lws, const uint32_t *groupCount) const = 0;
|
||||
virtual bool isCalculationForDisablingEuFusionWithDpasNeeded() const = 0;
|
||||
|
||||
virtual ~ProductHelper() = default;
|
||||
|
||||
|
||||
@@ -736,4 +736,13 @@ bool ProductHelperHw<gfxProduct>::isMultiContextResourceDeferDeletionSupported()
|
||||
return false;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isFusedEuDisabledForDpas(bool kernelHasDpasInstructions, const uint32_t *lws, const uint32_t *groupCount) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isCalculationForDisablingEuFusionWithDpasNeeded() const {
|
||||
return false;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
@@ -156,6 +156,8 @@ class ProductHelperHw : public ProductHelper {
|
||||
uint32_t getDefaultRevisionId() const override;
|
||||
|
||||
bool isMultiContextResourceDeferDeletionSupported() const override;
|
||||
bool isFusedEuDisabledForDpas(bool kernelHasDpasInstructions, const uint32_t *lws, const uint32_t *groupCount) const override;
|
||||
bool isCalculationForDisablingEuFusionWithDpasNeeded() const override;
|
||||
|
||||
~ProductHelperHw() override = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user