Use hardware support flags for state compute mode state changes

Related-To: NEO-5019

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2022-08-23 04:02:33 +00:00
committed by Compute-Runtime-Automation
parent 2de3cdc90c
commit f656707fc0
14 changed files with 78 additions and 53 deletions

View File

@@ -158,7 +158,6 @@ class HwHelper {
virtual const void *getBatchBufferEndReference() const = 0;
virtual bool isPlatformFlushTaskEnabled(const NEO::HardwareInfo &hwInfo) const = 0;
virtual bool isPatIndexFallbackWaRequired() const = 0;
virtual bool isDevicePreemptionModeTrackedInScm() const = 0;
protected:
HwHelper() = default;
@@ -399,7 +398,6 @@ class HwHelperHw : public HwHelper {
const void *getBatchBufferEndReference() const override;
bool isPlatformFlushTaskEnabled(const NEO::HardwareInfo &hwInfo) const override;
bool isPatIndexFallbackWaRequired() const override;
bool isDevicePreemptionModeTrackedInScm() const override;
protected:
static const AuxTranslationMode defaultAuxTranslationMode;

View File

@@ -718,8 +718,4 @@ bool HwHelperHw<GfxFamily>::isPatIndexFallbackWaRequired() const {
return false;
}
template <typename GfxFamily>
bool HwHelperHw<GfxFamily>::isDevicePreemptionModeTrackedInScm() const {
return false;
}
} // namespace NEO