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
Este commit está contenido en:
Deepak Mewar
2023-02-27 02:03:20 -05:00
cometido por Naveen Krishna Chatradhi
padre 0c435b81c2
commit e6dd8d49ba
Se han modificado 7 ficheros con 17 adiciones y 17 borrados
+2 -2
Ver fichero
@@ -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(