Renamed API amdsmi_read_counter
to amdsmi_gpu_read_counter grep -rli 'amdsmi_read_counter' * | xargs -i@ sed -i 's/amdsmi_read_counter/amdsmi_gpu_read_counter/g' @ Change-Id: Ie9fec914358dd901930db54ab94e05f2fe32fa5a
Этот коммит содержится в:
коммит произвёл
Naveen Krishna Chatradhi
родитель
6e1a72d2c1
Коммит
7a6c26244e
@@ -1409,7 +1409,7 @@ def amdsmi_gpu_control_counter(
|
||||
)
|
||||
|
||||
|
||||
def amdsmi_read_counter(
|
||||
def amdsmi_gpu_read_counter(
|
||||
event_handle: amdsmi_wrapper.amdsmi_event_handle_t,
|
||||
) -> Dict[str, Any]:
|
||||
if not isinstance(event_handle, amdsmi_wrapper.amdsmi_event_handle_t):
|
||||
@@ -1420,7 +1420,7 @@ def amdsmi_read_counter(
|
||||
counter_value = amdsmi_wrapper.amdsmi_counter_value_t()
|
||||
|
||||
_check_res(
|
||||
amdsmi_wrapper.amdsmi_read_counter(
|
||||
amdsmi_wrapper.amdsmi_gpu_read_counter(
|
||||
event_handle, ctypes.byref(counter_value))
|
||||
)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user