Fix #73 sensor_ind error during compilation (#132)

Change-Id: I5f1a31df9bf9aaf6cb501b6db77c93f7bbfa34f2

Co-authored-by: Taylor Ding <taylding@amd.com>

[ROCm/amdsmi commit: 70fad049df]
이 커밋은 다음에 포함됨:
Galantsev, Dmitrii
2025-02-26 02:58:21 -06:00
커밋한 사람 GitHub
부모 969256202b
커밋 da2d61bdd9
+1
파일 보기
@@ -5738,6 +5738,7 @@ pub fn amdsmi_get_gpu_activity(
/// This function will return the error in [`AmdsmiStatusT`] if the underlying `amdsmi_wrapper::amdsmi_get_power_info` call fails.
pub fn amdsmi_get_power_info(
processor_handle: AmdsmiProcessorHandle,
sensor_ind: u32,
) -> AmdsmiResult<AmdsmiPowerInfoT> {
let mut info = MaybeUninit::<AmdsmiPowerInfoT>::uninit();
call_unsafe!(amdsmi_wrapper::amdsmi_get_power_info(