We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0483e commit 76a7b89Copy full SHA for 76a7b89
runtime/src/iree/hal/drivers/hip/event_semaphore.c
@@ -842,6 +842,10 @@ static iree_status_t iree_hal_hip_semaphore_wait(
842
iree_notification_prepare_wait(&semaphore->state_notification);
843
iree_slim_mutex_unlock(&semaphore->mutex);
844
845
+ // We are going to pick up the correct status from query_locked below.
846
+ iree_status_ignore(
847
+ iree_hal_hip_event_semaphore_run_scheduled_callbacks(base_semaphore));
848
+
849
// We have to wait for the semaphore to catch up.
850
bool committed =
851
iree_notification_commit_wait(&semaphore->state_notification, wait,
0 commit comments