Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I45e7ecea022a028501f381fea4291bf78cc4494b
Этот коммит содержится в:
Maisam Arif
2024-04-30 19:13:46 -05:00
родитель e6054be6e7
Коммит 962e217d08
+2 -7
Просмотреть файл
@@ -3367,13 +3367,8 @@ Example:
```python
try:
devices = amdsmi_get_processor_handles()
if len(devices) == 0:
print("No GPUs on machine")
else:
for device in devices:
version = amdsmi_get_lib_version()
print(version)
version = amdsmi_get_lib_version()
print(version)
except AmdSmiException as e:
print(e)
```