From fc02ebc5f2dcdec1383d1e6efd92a70bf6deb734 Mon Sep 17 00:00:00 2001 From: "Galantsev, Dmitrii" Date: Thu, 2 Nov 2023 17:56:10 -0500 Subject: [PATCH] DOCS - Fix 'failed to reach any of the inventories' Change-Id: I7edd1fad17bd0f3e0946a6712410cf6549afc729 Signed-off-by: Galantsev, Dmitrii --- docs/conf.py | 3 +++ py-interface/README.md | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 6bc3e3f5b6..4e4806d16c 100644 --- a/docs/conf.py +++ b/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/py-interface/README.md b/py-interface/README.md index 8ef3ff222d..fee3a48770 100644 --- a/py-interface/README.md +++ b/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