diff --git a/projects/amdsmi/include/amd_smi/amdsmi.h b/projects/amdsmi/include/amd_smi/amdsmi.h index 7d72293ffa..20f2749b13 100644 --- a/projects/amdsmi/include/amd_smi/amdsmi.h +++ b/projects/amdsmi/include/amd_smi/amdsmi.h @@ -62,7 +62,6 @@ typedef enum { #define AMDSMI_MAX_MM_IP_COUNT 8 #define AMDSMI_MAX_STRING_LENGTH 256 #define AMDSMI_MAX_DEVICES 32 -#define AMDSMI_MAX_DRIVER_VERSION_LENGTH 80 #define AMDSMI_MAX_CACHE_TYPES 10 #define AMDSMI_MAX_ACCELERATOR_PROFILE 32 #define AMDSMI_MAX_CP_PROFILE_RESOURCES 32 diff --git a/projects/amdsmi/py-interface/amdsmi_interface.py b/projects/amdsmi/py-interface/amdsmi_interface.py index 16a17d3018..ae465503b8 100644 --- a/projects/amdsmi/py-interface/amdsmi_interface.py +++ b/projects/amdsmi/py-interface/amdsmi_interface.py @@ -2615,9 +2615,6 @@ def amdsmi_get_gpu_driver_info( processor_handle, amdsmi_wrapper.amdsmi_processor_handle ) - length = ctypes.c_int() - length.value = AMDSMI_MAX_DRIVER_VERSION_LENGTH - info = amdsmi_wrapper.amdsmi_driver_info_t() _check_res( amdsmi_wrapper.amdsmi_get_gpu_driver_info( diff --git a/projects/amdsmi/rust-interface/src/amdsmi_wrapper.rs b/projects/amdsmi/rust-interface/src/amdsmi_wrapper.rs index 86680dea7f..233bcb4c4b 100644 --- a/projects/amdsmi/rust-interface/src/amdsmi_wrapper.rs +++ b/projects/amdsmi/rust-interface/src/amdsmi_wrapper.rs @@ -104,7 +104,6 @@ where pub const AMDSMI_MAX_MM_IP_COUNT: u32 = 8; pub const AMDSMI_MAX_STRING_LENGTH: u32 = 256; pub const AMDSMI_MAX_DEVICES: u32 = 32; -pub const AMDSMI_MAX_DRIVER_VERSION_LENGTH: u32 = 80; pub const AMDSMI_MAX_CONTAINER_TYPE: u32 = 2; pub const AMDSMI_MAX_CACHE_TYPES: u32 = 10; pub const AMDSMI_MAX_NUM_XGMI_PHYSICAL_LINK: u32 = 64;