Updated README example output
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I45e7ecea022a028501f381fea4291bf78cc4494b
[ROCm/amdsmi commit: 962e217d08]
이 커밋은 다음에 포함됨:
1 부모
30ffa6feb0
커밋
ce70355201
1 파일이 변경됨
+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)
|
||||
```
|
||||
|
||||
새 이슈에서 참조
사용자 차단