diff --git a/projects/amdsmi/docs/conf.py b/projects/amdsmi/docs/conf.py index 6bc3e3f5b6..4e4806d16c 100644 --- a/projects/amdsmi/docs/conf.py +++ b/projects/amdsmi/docs/conf.py @@ -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) diff --git a/projects/amdsmi/py-interface/README.md b/projects/amdsmi/py-interface/README.md index 8ef3ff222d..fee3a48770 100644 --- a/projects/amdsmi/py-interface/README.md +++ b/projects/amdsmi/py-interface/README.md @@ -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