mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +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
@@ -268,9 +268,7 @@ ze_result_t DeviceImp::getMemoryProperties(uint32_t *pCount, ze_device_memory_pr
|
||||
|
||||
const auto &deviceInfo = this->neoDevice->getDeviceInfo();
|
||||
|
||||
std::string memoryName;
|
||||
getDeviceMemoryName(memoryName);
|
||||
strcpy_s(pMemProperties->name, ZE_MAX_DEVICE_NAME, memoryName.c_str());
|
||||
strcpy_s(pMemProperties->name, ZE_MAX_DEVICE_NAME, getHwHelper().getDeviceMemoryName().c_str());
|
||||
auto &hwInfo = this->getHwInfo();
|
||||
auto &hwInfoConfig = *NEO::HwInfoConfig::get(hwInfo.platform.eProductFamily);
|
||||
pMemProperties->maxClockRate = hwInfoConfig.getDeviceMemoryMaxClkRate(&hwInfo);
|
||||
|
||||
@@ -111,7 +111,6 @@ struct DeviceImp : public Device {
|
||||
ze_result_t getCsrForLowPriority(NEO::CommandStreamReceiver **csr) override;
|
||||
ze_result_t mapOrdinalForAvailableEngineGroup(uint32_t *ordinal) override;
|
||||
NEO::Device *getActiveDevice() const;
|
||||
void getDeviceMemoryName(std::string &memoryName);
|
||||
|
||||
bool toPhysicalSliceId(const NEO::TopologyMap &topologyMap, uint32_t &slice, uint32_t &deviceIndex);
|
||||
bool toApiSliceId(const NEO::TopologyMap &topologyMap, uint32_t &slice, uint32_t deviceIndex);
|
||||
|
||||
@@ -24,8 +24,4 @@ bool DeviceImp::isMultiDeviceCapable() const {
|
||||
|
||||
void DeviceImp::processAdditionalKernelProperties(NEO::HwHelper &hwHelper, ze_device_module_properties_t *pKernelProperties) {
|
||||
}
|
||||
|
||||
void DeviceImp::getDeviceMemoryName(std::string &memoryName) {
|
||||
memoryName = "DDR";
|
||||
}
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user