mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Add xe_hp_sdv unit test target + minor test fixes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4b8e1671a5
commit
6f75d67406
@@ -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;
|
||||
|
||||
@@ -139,4 +139,9 @@ bool HwHelperHw<GfxFamily>::additionalPipeControlArgsRequired() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
std::string HwHelperHw<GfxFamily>::getDeviceMemoryName() const {
|
||||
return "DDR";
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,13 +8,16 @@
|
||||
#include "shared/source/os_interface/linux/drm_engine_mapper.h"
|
||||
|
||||
#include "shared/source/helpers/debug_helpers.h"
|
||||
#include "shared/source/helpers/engine_node_helper.h"
|
||||
|
||||
#include "drm/i915_drm.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
unsigned int DrmEngineMapper::engineNodeMap(aub_stream::EngineType engineType) {
|
||||
if (aub_stream::ENGINE_RCS == engineType) {
|
||||
if (EngineHelpers::isCcs(engineType)) {
|
||||
return I915_EXEC_DEFAULT;
|
||||
} else if (aub_stream::ENGINE_RCS == engineType) {
|
||||
return I915_EXEC_RENDER;
|
||||
} else if (aub_stream::ENGINE_BCS == engineType) {
|
||||
return I915_EXEC_BLT;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace NEO {
|
||||
using BcsInfoMask = std::bitset<1>;
|
||||
|
||||
struct FeatureTable : FeatureTableBase {
|
||||
BcsInfoMask ftrBcsInfo = 0;
|
||||
BcsInfoMask ftrBcsInfo = 1;
|
||||
};
|
||||
|
||||
struct WorkaroundTable : WorkaroundTableBase {};
|
||||
|
||||
Reference in New Issue
Block a user