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


[ROCm/amdsmi commit: 2ad8b91e0e]
This commit is contained in:
Deepak Mewar authored and Naveen Krishna Chatradhi committed 2023-05-11 10:54:41 -04:00
1 parent b3dac649d9
commit 370168e42c
7 files changed
+14 -14

No files matched your search

@@ -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)))