DOCS - Fix 'failed to reach any of the inventories'

Change-Id: I7edd1fad17bd0f3e0946a6712410cf6549afc729
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: fc02ebc5f2]
Этот коммит содержится в:
Galantsev, Dmitrii
2023-11-02 17:56:10 -05:00
коммит произвёл Dmitrii Galantsev
родитель 9b3d9f61b3
Коммит 1128c1f246
2 изменённых файлов: 7 добавлений и 2 удалений
+3
Просмотреть файл
@@ -37,6 +37,9 @@ docs_core = ROCmDocs(f"{name} Documentation")
docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/docBin/xml")
docs_core.enable_api_reference()
docs_core.setup()
docs_core.html_theme_options = {
"repository_url": "https://github.com/RadeonOpenCompute/amdsmi"
}
for sphinx_var in ROCmDocs.SPHINX_VARS:
globals()[sphinx_var] = getattr(docs_core, sphinx_var)
+4 -2
Просмотреть файл
@@ -1784,19 +1784,23 @@ except AmdSmiException as e:
```
## amdsmi_is_gpu_power_management_enabled
Description: Returns is power management enabled
Input parameters:
* `processor_handle` GPU device which to query
Output: Bool true if power management enabled else false
Exceptions that can be thrown by `amdsmi_is_gpu_power_management_enabled` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
Example:
```python
try:
devices = amdsmi_get_processor_handles()
@@ -3281,7 +3285,6 @@ except AmdSmiException as e:
print(e)
```
### amdsmi_dev_compute_partition_get
Description: Get the compute partition from the given GPU
@@ -3560,7 +3563,6 @@ except AmdSmiException as e:
print(e)
```
### amdsmi_get_cpucore_handles
Description: Returns list of CPU core handle objects on current machine