Renamed API amdsmi_init_event_notification

to amdsmi_init_gpu_event_notification

grep -rli 'amdsmi_init_event_notification' * | xargs -i@ sed -i
's/amdsmi_init_event_notification/amdsmi_init_gpu_event_notification/g' @

Change-Id: I6a45d38836f9d4221e3e5159370d4b6791fecca5
Этот коммит содержится в:
Deepak Mewar
2023-02-27 01:50:25 -05:00
коммит произвёл Naveen Krishna Chatradhi
родитель 828908424d
Коммит 2ad8b91e0e
7 изменённых файлов: 14 добавлений и 14 удалений
+1 -1
Просмотреть файл
@@ -315,7 +315,7 @@ class AmdSmiEventReader:
for event_type in event_types:
mask |= (1 << (int(event_type) - 1))
_check_res(amdsmi_wrapper.amdsmi_init_event_notification(processor_handle))
_check_res(amdsmi_wrapper.amdsmi_init_gpu_event_notification(processor_handle))
_check_res(amdsmi_wrapper. amdsmi_set_gpu_event_notification_mask(
processor_handle, ctypes.c_uint64(mask)))