From e7552a95e1ecb3d7432cc13a060edf6f9401f74f Mon Sep 17 00:00:00 2001 From: Maisam Arif Date: Thu, 29 Jun 2023 11:13:31 -0500 Subject: [PATCH] Corrected temp_vram_limit variable reference Signed-off-by: Maisam Arif Change-Id: Ic54cc62a8ac1ea9c63b2270810d95e6589059160 [ROCm/amdsmi commit: 36671450f07ef4dd64f3c553b5c8d93302b1e12d] --- projects/amdsmi/amdsmi_cli/amdsmi_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py index f3fb36f1bc..27f2c73345 100644 --- a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py +++ b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py @@ -298,7 +298,7 @@ class AMDSMICommands(): temp_vram_limit = amdsmi_interface.amdsmi_get_temp_metric(args.gpu, amdsmi_interface.AmdSmiTemperatureType.VRAM, amdsmi_interface.AmdSmiTemperatureMetric.CRITICAL) except amdsmi_exception.AmdSmiLibraryException as e: - temp_junction_limit = e.get_error_info() + temp_vram_limit = e.get_error_info() if not self.all_arguments: raise e