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
[ROCm/amdsmi commit: 6256bf6f1a]
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
13c55d85fe
commit
19262e1fd8
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user