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:
committed by
Naveen Krishna Chatradhi
parent
69267f01c1
commit
ca4b919b16
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user