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 authored and Naveen Krishna Chatradhi committed 2023-05-11 10:54:30 -04:00
1 родитель 0bfc2a37aa
Коммит 828908424d
7 files changed
+13 -13

No files matched your search

+3 -3
Просмотреть файл
@@ -3500,7 +3500,7 @@ amdsmi_init_event_notification(amdsmi_processor_handle processor_handle);
* @return ::amdsmi_status_t | ::AMDSMI_STATUS_SUCCESS on success, non-zero on fail
*/
amdsmi_status_t
amdsmi_set_event_notification_mask(amdsmi_processor_handle processor_handle, uint64_t mask);
amdsmi_set_gpu_event_notification_mask(amdsmi_processor_handle processor_handle, uint64_t mask);
/**
* @brief Collect event notifications, waiting a specified amount of time
@@ -3517,9 +3517,9 @@ amdsmi_status_t
* buffer available to write any new events that would be found.
*
* This function requires prior calls to ::amdsmi_init_event_notification() and
* :: amdsmi_set_event_notification_mask(). This function polls for the
* :: amdsmi_set_gpu_event_notification_mask(). This function polls for the
* occurrance of the events on the respective devices that were previously
* specified by :: amdsmi_set_event_notification_mask().
* specified by :: amdsmi_set_gpu_event_notification_mask().
*
* @param[in] timeout_ms number of milliseconds to wait for an event
* to occur