mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Remove not needed isL3Configurable helper function
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Remove isL3Configurable function from - HwHelper - PreambleHelper
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a12251d464
commit
c027d2c494
@@ -46,7 +46,6 @@ class HwHelper {
|
||||
virtual uint32_t getPitchAlignmentForImage(const HardwareInfo *hwInfo) const = 0;
|
||||
virtual uint32_t getMaxNumSamplers() const = 0;
|
||||
virtual void adjustDefaultEngineType(HardwareInfo *pHwInfo) = 0;
|
||||
virtual bool isL3Configurable(const HardwareInfo &hwInfo) = 0;
|
||||
virtual SipKernelType getSipKernelType(bool debuggingActive) const = 0;
|
||||
virtual bool isLocalMemoryEnabled(const HardwareInfo &hwInfo) const = 0;
|
||||
virtual bool is1MbAlignmentSupported(const HardwareInfo &hwInfo, bool isCompressionEnabled) const = 0;
|
||||
@@ -216,8 +215,6 @@ class HwHelperHw : public HwHelper {
|
||||
|
||||
void adjustDefaultEngineType(HardwareInfo *pHwInfo) override;
|
||||
|
||||
bool isL3Configurable(const HardwareInfo &hwInfo) override;
|
||||
|
||||
SipKernelType getSipKernelType(bool debuggingActive) const override;
|
||||
|
||||
bool isLocalMemoryEnabled(const HardwareInfo &hwInfo) const override;
|
||||
|
||||
@@ -54,11 +54,6 @@ bool HwHelperHw<Family>::isStatelessToStatefulWithOffsetSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename Family>
|
||||
bool HwHelperHw<Family>::isL3Configurable(const HardwareInfo &hwInfo) {
|
||||
return PreambleHelper<Family>::isL3Configurable(hwInfo);
|
||||
}
|
||||
|
||||
template <typename Family>
|
||||
SipKernelType HwHelperHw<Family>::getSipKernelType(bool debuggingActive) const {
|
||||
if (!debuggingActive) {
|
||||
|
||||
@@ -54,7 +54,6 @@ struct PreambleHelper {
|
||||
static void programKernelDebugging(LinearStream *pCommandStream);
|
||||
static void programSemaphoreDelay(LinearStream *pCommandStream);
|
||||
static uint32_t getL3Config(const HardwareInfo &hwInfo, bool useSLM);
|
||||
static bool isL3Configurable(const HardwareInfo &hwInfo);
|
||||
static bool isSystolicModeConfigurable(const HardwareInfo &hwInfo);
|
||||
static size_t getAdditionalCommandsSize(const Device &device);
|
||||
static std::vector<int32_t> getSupportedThreadArbitrationPolicies();
|
||||
|
||||
@@ -101,11 +101,6 @@ size_t PreambleHelper<GfxFamily>::getKernelDebuggingCommandsSize(bool debuggingA
|
||||
return 0;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool PreambleHelper<GfxFamily>::isL3Configurable(const HardwareInfo &hwInfo) {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void PreambleHelper<GfxFamily>::appendProgramVFEState(const HardwareInfo &hwInfo, const StreamProperties &streamProperties, void *cmd) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user