Renamed API amdsmi_set_event_notification_mask

to amdsmi_set_gpu_event_notification_mask

grep -rli 'amdsmi_set_event_notification_mask' * | xargs -i@ sed -i
's/amdsmi_set_event_notification_mask/amdsmi_set_gpu_event_notification_mask/g' @

Change-Id: Id4b9b6bc31f438b6d4d584142c8814f091b4b553
此提交包含在:
Deepak Mewar
2023-02-27 01:48:55 -05:00
提交者 Naveen Krishna Chatradhi
父節點 0bfc2a37aa
當前提交 828908424d
共有 7 個檔案被更改,包括 13 行新增 和 13 行删除
+1 -1
查看文件
@@ -316,7 +316,7 @@ class AmdSmiEventReader:
mask |= (1 << (int(event_type) - 1))
_check_res(amdsmi_wrapper.amdsmi_init_event_notification(processor_handle))
_check_res(amdsmi_wrapper. amdsmi_set_event_notification_mask(
_check_res(amdsmi_wrapper. amdsmi_set_gpu_event_notification_mask(
processor_handle, ctypes.c_uint64(mask)))
def read(self, timestamp, num_elem=10):