Change-Id: I5f1a31df9bf9aaf6cb501b6db77c93f7bbfa34f2
Co-authored-by: Taylor Ding <taylding@amd.com>
[ROCm/amdsmi commit: 70fad049df]
This commit is contained in:
committed by
GitHub
parent
969256202b
commit
da2d61bdd9
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user