feature: Add capability to query additional memory properties ext
Related-To: NEO-11362 Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
parent
b0c924d40e
commit
b7b45e1410
|
@ -736,6 +736,7 @@ ze_result_t DeviceImp::getMemoryProperties(uint32_t *pCount, ze_device_memory_pr
|
|||
extendedProperties->writeBandwidth = extendedProperties->readBandwidth;
|
||||
extendedProperties->bandwidthUnit = ZE_BANDWIDTH_UNIT_BYTES_PER_NANOSEC;
|
||||
}
|
||||
getAdditionalMemoryExtProperties(pNext, this->getNEODevice()->getHardwareInfo());
|
||||
pNext = static_cast<ze_base_properties_t *>(pNext->pNext);
|
||||
}
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@ struct DeviceImp : public Device, NEO::NonCopyableOrMovableClass {
|
|||
using CmdListCreateFunPtrT = L0::CommandList *(*)(uint32_t, Device *, NEO::EngineGroupType, ze_command_list_flags_t, ze_result_t &, bool);
|
||||
CmdListCreateFunPtrT getCmdListCreateFunc(const ze_base_desc_t *desc);
|
||||
void getAdditionalExtProperties(ze_base_properties_t *extendedProperties);
|
||||
void getAdditionalMemoryExtProperties(ze_base_properties_t *extProperties, const NEO::HardwareInfo &hwInfo);
|
||||
ze_result_t getFabricVertex(ze_fabric_vertex_handle_t *phVertex) override;
|
||||
|
||||
ze_result_t queryDeviceLuid(ze_device_luid_ext_properties_t *deviceLuidProperties);
|
||||
|
|
|
@ -23,4 +23,6 @@ void DeviceImp::getExtendedDeviceModuleProperties(ze_base_desc_t *pExtendedPrope
|
|||
|
||||
void DeviceImp::getAdditionalExtProperties(ze_base_properties_t *extendedProperties) {}
|
||||
|
||||
void DeviceImp::getAdditionalMemoryExtProperties(ze_base_properties_t *extProperties, const NEO::HardwareInfo &hwInfo) {}
|
||||
|
||||
} // namespace L0
|
||||
|
|
Loading…
Reference in New Issue