Open fwyzard opened 4 years ago
+1
The current specification support several "name" fields. (brandName, modelName, vendorName) https://spec.oneapi.com/level-zero/latest/sysman/api.html#zes-device-properties-t
Can this issue be closed?
The idea was to be able to query the properties of the driver, independently from any of the devices.
Sorry, I missed that detail. There is a ze_driver_extension_properties_t with a name field. Not specific of what name is for or should be, at least spec allows for providing a name.
https://spec.oneapi.com/level-zero/latest/core/api.html#_CPPv432ze_driver_extension_properties_t https://spec.oneapi.com/level-zero/latest/core/api.html#_CPPv430zeDriverGetExtensionProperties18ze_driver_handle_tP8uint32_tP32ze_driver_extension_properties_t
Mhm, from a quick look that seems to be a way to query the available extensions and their names - that is, the names of the extensions, not of the driver.
The
ze_device_properties_t
struct has aname
field to describe the device.Would it make sense to add a
name
field to theze_driver_properties_t
as well, to describe the driver ? E.g. something like "Intel(R) LevelZero HD Graphics" or "Intel(R) LevelZero NEO driver".