DOCS - Fix 'failed to reach any of the inventories'
Change-Id: I7edd1fad17bd0f3e0946a6712410cf6549afc729 Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
committed by
Dmitrii Galantsev
orang tua
1010787865
melakukan
fc02ebc5f2
@@ -37,6 +37,9 @@ docs_core = ROCmDocs(f"{name} Documentation")
|
|||||||
docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/docBin/xml")
|
docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/docBin/xml")
|
||||||
docs_core.enable_api_reference()
|
docs_core.enable_api_reference()
|
||||||
docs_core.setup()
|
docs_core.setup()
|
||||||
|
docs_core.html_theme_options = {
|
||||||
|
"repository_url": "https://github.com/RadeonOpenCompute/amdsmi"
|
||||||
|
}
|
||||||
|
|
||||||
for sphinx_var in ROCmDocs.SPHINX_VARS:
|
for sphinx_var in ROCmDocs.SPHINX_VARS:
|
||||||
globals()[sphinx_var] = getattr(docs_core, sphinx_var)
|
globals()[sphinx_var] = getattr(docs_core, sphinx_var)
|
||||||
|
|||||||
@@ -1784,19 +1784,23 @@ except AmdSmiException as e:
|
|||||||
```
|
```
|
||||||
|
|
||||||
## amdsmi_is_gpu_power_management_enabled
|
## amdsmi_is_gpu_power_management_enabled
|
||||||
|
|
||||||
Description: Returns is power management enabled
|
Description: Returns is power management enabled
|
||||||
|
|
||||||
Input parameters:
|
Input parameters:
|
||||||
|
|
||||||
* `processor_handle` GPU device which to query
|
* `processor_handle` GPU device which to query
|
||||||
|
|
||||||
Output: Bool true if power management enabled else false
|
Output: Bool true if power management enabled else false
|
||||||
|
|
||||||
Exceptions that can be thrown by `amdsmi_is_gpu_power_management_enabled` function:
|
Exceptions that can be thrown by `amdsmi_is_gpu_power_management_enabled` function:
|
||||||
|
|
||||||
* `AmdSmiLibraryException`
|
* `AmdSmiLibraryException`
|
||||||
* `AmdSmiRetryException`
|
* `AmdSmiRetryException`
|
||||||
* `AmdSmiParameterException`
|
* `AmdSmiParameterException`
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
try:
|
try:
|
||||||
devices = amdsmi_get_processor_handles()
|
devices = amdsmi_get_processor_handles()
|
||||||
@@ -3281,7 +3285,6 @@ except AmdSmiException as e:
|
|||||||
print(e)
|
print(e)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### amdsmi_dev_compute_partition_get
|
### amdsmi_dev_compute_partition_get
|
||||||
|
|
||||||
Description: Get the compute partition from the given GPU
|
Description: Get the compute partition from the given GPU
|
||||||
@@ -3560,7 +3563,6 @@ except AmdSmiException as e:
|
|||||||
print(e)
|
print(e)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### amdsmi_get_cpucore_handles
|
### amdsmi_get_cpucore_handles
|
||||||
|
|
||||||
Description: Returns list of CPU core handle objects on current machine
|
Description: Returns list of CPU core handle objects on current machine
|
||||||
|
|||||||
Reference in New Issue
Block a user