Renamed API amdsmi_control_counter
to amdsmi_gpu_control_counter
grep -rli 'amdsmi_control_counter' * | xargs -i@ sed -i
's/amdsmi_control_counter/amdsmi_gpu_control_counter/g' @
Change-Id: Ibdcd32327ebd2646375fb5c3b913cb528ac8aa97
[ROCm/amdsmi commit: 6e1a72d2c1]
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
ca4b919b16
commit
c70ff3cbed
@@ -1390,7 +1390,7 @@ def amdsmi_gpu_destroy_counter(event_handle: amdsmi_wrapper.amdsmi_event_handle_
|
||||
_check_res(amdsmi_wrapper.amdsmi_gpu_destroy_counter(event_handle))
|
||||
|
||||
|
||||
def amdsmi_control_counter(
|
||||
def amdsmi_gpu_control_counter(
|
||||
event_handle: amdsmi_wrapper.amdsmi_event_handle_t,
|
||||
counter_command: AmdSmiCounterCommand,
|
||||
):
|
||||
@@ -1403,7 +1403,7 @@ def amdsmi_control_counter(
|
||||
command_args = ctypes.c_void_p()
|
||||
|
||||
_check_res(
|
||||
amdsmi_wrapper.amdsmi_control_counter(
|
||||
amdsmi_wrapper.amdsmi_gpu_control_counter(
|
||||
event_handle, counter_command, command_args
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user