Renamed API amdsmi_dev_destroy_counter

to amdsmi_gpu_destroy_counter

grep -rli 'amdsmi_dev_destroy_counter' * | xargs -i@ sed -i
's/amdsmi_dev_destroy_counter/amdsmi_gpu_destroy_counter/g' @

Change-Id: I328f65f5a2a86108ee5b217f95ed0f4f03745286


[ROCm/amdsmi commit: e6dd8d49ba]
This commit is contained in:
Deepak Mewar
2023-02-27 02:03:20 -05:00
committed by Naveen Krishna Chatradhi
parent 69267f01c1
commit ca4b919b16
7 changed files with 17 additions and 17 deletions
@@ -1382,12 +1382,12 @@ def amdsmi_gpu_create_counter(
return event_handle
def amdsmi_dev_destroy_counter(event_handle: amdsmi_wrapper.amdsmi_event_handle_t):
def amdsmi_gpu_destroy_counter(event_handle: amdsmi_wrapper.amdsmi_event_handle_t):
if not isinstance(event_handle, amdsmi_wrapper.amdsmi_event_handle_t):
raise AmdSmiParameterException(
event_handle, amdsmi_wrapper.amdsmi_event_handle_t
)
_check_res(amdsmi_wrapper.amdsmi_dev_destroy_counter(event_handle))
_check_res(amdsmi_wrapper.amdsmi_gpu_destroy_counter(event_handle))
def amdsmi_control_counter(