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
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
0bfc2a37aa
commit
828908424d
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user