Add adjustAddressWidthFor Canonize helper

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-5285
This commit is contained in:
Kamil Kopryk
2020-11-27 14:26:12 +01:00
committed by Compute-Runtime-Automation
parent 4602220e62
commit 0d94f289b4
5 changed files with 31 additions and 2 deletions

View File

@@ -124,6 +124,7 @@ class HwHelper {
virtual size_t getMaxFillPaternSizeForCopyEngine() const = 0;
virtual bool isMediaBlockIOSupported(const HardwareInfo &hwInfo) const = 0;
virtual bool isCopyOnlyEngineType(EngineGroupType type) const = 0;
virtual void adjustAddressWidthForCanonize(uint32_t &addressWidth) const = 0;
static uint32_t getSubDevicesCount(const HardwareInfo *pHwInfo);
static uint32_t getEnginesCount(const HardwareInfo &hwInfo);
@@ -314,6 +315,8 @@ class HwHelperHw : public HwHelper {
bool isCopyOnlyEngineType(EngineGroupType type) const override;
void adjustAddressWidthForCanonize(uint32_t &addressWidth) const override;
protected:
LocalMemoryAccessMode getDefaultLocalMemoryAccessMode(const HardwareInfo &hwInfo) const override;