From c081e9e6f8b82237bed18990dc7934d3235260af Mon Sep 17 00:00:00 2001 From: Deepak Mewar Date: Thu, 11 Jan 2024 07:29:24 -0500 Subject: [PATCH] amdsmi wrapper generated for updated amdsmi_get_esmi_err_msg Change-Id: I2388cd75111774852ae6426071d890bbf2d9d0c9 [ROCm/amdsmi commit: 730a82417e375446b982d43b0b0f71418c1bfb1e] --- projects/amdsmi/py-interface/amdsmi_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/py-interface/amdsmi_wrapper.py b/projects/amdsmi/py-interface/amdsmi_wrapper.py index 99a2c776f1..235c78ede6 100644 --- a/projects/amdsmi/py-interface/amdsmi_wrapper.py +++ b/projects/amdsmi/py-interface/amdsmi_wrapper.py @@ -2399,7 +2399,7 @@ amdsmi_first_online_core_on_cpu_socket = _libraries['libamd_smi.so'].amdsmi_firs amdsmi_first_online_core_on_cpu_socket.restype = amdsmi_status_t amdsmi_first_online_core_on_cpu_socket.argtypes = [amdsmi_processor_handle, ctypes.POINTER(ctypes.c_uint32)] amdsmi_get_esmi_err_msg = _libraries['libamd_smi.so'].amdsmi_get_esmi_err_msg -amdsmi_get_esmi_err_msg.restype = ctypes.POINTER(ctypes.POINTER(ctypes.c_char)) +amdsmi_get_esmi_err_msg.restype = amdsmi_status_t amdsmi_get_esmi_err_msg.argtypes = [amdsmi_status_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char))] __all__ = \ ['AGG_BW0', 'AMDSMI_ARG_PTR_NULL', 'AMDSMI_AVERAGE_POWER',