Add xe_hp_sdv unit test target + minor test fixes

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-07-28 15:07:41 +00:00
committed by Compute-Runtime-Automation
parent 4b8e1671a5
commit 6f75d67406
18 changed files with 88 additions and 44 deletions

View File

@@ -95,6 +95,7 @@ class HwHelper {
virtual const StackVec<uint32_t, 6> getThreadsPerEUConfigs() const = 0;
virtual bool getEnableLocalMemory(const HardwareInfo &hwInfo) const = 0;
virtual std::string getExtensions() const = 0;
virtual std::string getDeviceMemoryName() const = 0;
static uint32_t getMaxThreadsForVfe(const HardwareInfo &hwInfo);
virtual uint32_t getMetricsLibraryGenId() const = 0;
virtual uint32_t getMocsIndex(const GmmHelper &gmmHelper, bool l3enabled, bool l1enabled) const = 0;
@@ -273,6 +274,8 @@ class HwHelperHw : public HwHelper {
std::string getExtensions() const override;
std::string getDeviceMemoryName() const override;
uint32_t getMetricsLibraryGenId() const override;
uint32_t getMocsIndex(const GmmHelper &gmmHelper, bool l3enabled, bool l1enabled) const override;

View File

@@ -139,4 +139,9 @@ bool HwHelperHw<GfxFamily>::additionalPipeControlArgsRequired() const {
return false;
}
template <typename GfxFamily>
std::string HwHelperHw<GfxFamily>::getDeviceMemoryName() const {
return "DDR";
}
} // namespace NEO

View File

@@ -193,4 +193,9 @@ inline bool HwHelperHw<GfxFamily>::preferSmallWorkgroupSizeForKernel(const size_
return true;
}
template <typename GfxFamily>
std::string HwHelperHw<GfxFamily>::getDeviceMemoryName() const {
return "HBM";
}
} // namespace NEO