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]
이 커밋은 다음에 포함됨:
Deepak Mewar
2023-02-25 08:25:12 -05:00
커밋한 사람 Naveen Krishna Chatradhi
부모 da14f8b791
커밋 f33edadf51
9개의 변경된 파일과 20개의 추가작업 그리고 20개의 파일을 삭제
+2 -2
파일 보기
@@ -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)
)
)