Renamed API amdsmi_dev_reset_xgmi_error

amdsmi_dev_reset_xgmi_error -> amdsmi_reset_gpu_xgmi_error

grep -rli 'amdsmi_dev_reset_xgmi_error' * | xargs -i@ sed -i
's/amdsmi_dev_reset_xgmi_error/amdsmi_reset_gpu_xgmi_error/g' @

Change-Id: Ic7e4c4b345fdf6187aed42d53fb7ae8536c2edea
This commit is contained in:
Suma Hegde authored and Naveen Krishna Chatradhi committed 2023-05-11 11:01:25 -04:00
1 parent a8acfbf8ff
commit 6256bf6f1a
9 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -2620,7 +2620,7 @@ def amdsmi_gpu_xgmi_error_status(
return AmdSmiXgmiStatus(status.value)
def amdsmi_dev_reset_xgmi_error(
def amdsmi_reset_gpu_xgmi_error(
processor_handle: amdsmi_wrapper.amdsmi_processor_handle,
) -> None:
if not isinstance(processor_handle, amdsmi_wrapper.amdsmi_processor_handle):
@@ -2628,7 +2628,7 @@ def amdsmi_dev_reset_xgmi_error(
processor_handle, amdsmi_wrapper.amdsmi_processor_handle
)
_check_res(amdsmi_wrapper.amdsmi_dev_reset_xgmi_error(processor_handle))
_check_res(amdsmi_wrapper.amdsmi_reset_gpu_xgmi_error(processor_handle))
def amdsmi_get_gpu_memory_reserved_pages(