[SWDEV-482949] Add CPU model name querying support (#33)

- Add support to check CPU vendor info which will be called by RDC to
discovery CPU information
- Move esmi headers declaration to impl/amd_smi_common.h
- remove duplicated amdsmi_cpu_util_t

---------

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: Deepak Mewar <deepak.mewar@amd.com>
Этот коммит содержится в:
Yuan, PerryиDeepak Mewar authored and GitHub committed 2025-03-28 21:21:39 -05:00
1 родитель 13c222a103
Коммит 68e44c7f66
10 files changed
+244 -21

No files matched your search

+20
Просмотреть файл
@@ -5127,6 +5127,26 @@ except AmdSmiException as e:
print(e)
```
### amdsmi_get_cpu_model_name
Description: Get cpu model name.
Output: cpu model name
Exceptions that can be thrown by `amdsmi_get_cpu_model_name` function:
* `AmdSmiLibraryException`
Example:
```python
try:
cpu_model_name = amdsmi_get_cpu_model_name()
print(cpu_model_name)
except AmdSmiException as e:
print(e)
```
## No amdsmi_init APIs
### amdsmi_get_lib_version