Remove not needed function.

Change-Id: I52c652980de85ff9377f6e575091d9563bd656cd
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2020-08-28 07:00:18 +02:00
committed by sys_ocldev
parent 2368972012
commit bfb1dc62b7
3 changed files with 0 additions and 10 deletions

View File

@@ -98,8 +98,6 @@ void RootDevice::initializeRootCommandStreamReceiver() {
auto &hwInfo = getHardwareInfo();
auto defaultEngineType = getChosenEngineType(hwInfo);
auto &hwHelper = NEO::HwHelper::get(hwInfo.platform.eRenderCoreFamily);
defaultEngineType = static_cast<aub_stream::EngineType>(hwHelper.getDefaultEngineWithWa(hwInfo, defaultEngineType));
auto preemptionMode = PreemptionHelper::getDefaultPreemptionMode(hwInfo);
auto osContext = getMemoryManager()->createAndRegisterOsContext(rootCommandStreamReceiver.get(), defaultEngineType,

View File

@@ -107,7 +107,6 @@ class HwHelper {
uint32_t threadsPerEu) = 0;
virtual uint32_t alignSlmSize(uint32_t slmSize) = 0;
virtual uint32_t computeSlmValues(uint32_t slmSize) = 0;
virtual uint32_t getDefaultEngineWithWa(const HardwareInfo &hwInfo, uint32_t defaultEngineType) const = 0;
virtual bool isForceEmuInt32DivRemSPWARequired(const HardwareInfo &hwInfo) = 0;
virtual uint32_t getMinimalSIMDSize() = 0;
@@ -271,8 +270,6 @@ class HwHelperHw : public HwHelper {
uint32_t computeSlmValues(uint32_t slmSize) override;
uint32_t getDefaultEngineWithWa(const HardwareInfo &hwInfo, uint32_t defaultEngineType) const override;
static AuxTranslationMode getAuxTranslationMode();
static bool isBlitAuxTranslationRequired(const HardwareInfo &hwInfo, const MultiDispatchInfo &multiDispatchInfo);

View File

@@ -480,9 +480,4 @@ uint32_t HwHelperHw<GfxFamily>::getDefaultThreadArbitrationPolicy() const {
return 0;
}
template <typename GfxFamily>
uint32_t HwHelperHw<GfxFamily>::getDefaultEngineWithWa(const HardwareInfo &hwInfo, uint32_t defaultEngineType) const {
return defaultEngineType;
}
} // namespace NEO