Renamed API amdsmi_dev_get_volt_metric to
amdsmi_get_gpu_volt_metric
grep -rli 'amdsmi_dev_get_volt_metric' * | xargs -i@ sed -i
's/amdsmi_dev_get_volt_metric/amdsmi_get_gpu_volt_metric/g' @
Change-Id: Icd34fa435d067815d83b61e84b70b1d78105f8b6
[ROCm/amdsmi commit: 1358f3cfd0]
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
da14f8b791
commit
f33edadf51
@@ -2141,7 +2141,7 @@ def amdsmi_get_temp_metric(
|
||||
return temp_value.value
|
||||
|
||||
|
||||
def amdsmi_dev_get_volt_metric(
|
||||
def amdsmi_get_gpu_volt_metric(
|
||||
processor_handle: amdsmi_wrapper.amdsmi_processor_handle,
|
||||
sensor_type: AmdSmiVoltageType,
|
||||
metric: AmdSmiVoltageMetric,
|
||||
@@ -2157,7 +2157,7 @@ def amdsmi_dev_get_volt_metric(
|
||||
|
||||
voltage = ctypes.c_int64()
|
||||
_check_res(
|
||||
amdsmi_wrapper. amdsmi_dev_get_volt_metric(
|
||||
amdsmi_wrapper. amdsmi_get_gpu_volt_metric(
|
||||
processor_handle, sensor_type, metric, ctypes.byref(voltage)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user