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.
2 parents 601062b + f8c4fac commit 717791bCopy full SHA for 717791b
source/adapters/level_zero/queue.cpp
@@ -1635,8 +1635,9 @@ ur_result_t ur_queue_handle_t_::synchronize() {
1635
// event.
1636
if (isInOrderQueue() && !LastCommandEvent->IsDiscarded) {
1637
if (UrL0QueueSyncNonBlocking) {
1638
+ auto SyncZeEvent = LastCommandEvent->ZeEvent;
1639
this->Mutex.unlock();
- ZE2UR_CALL(zeHostSynchronize, (LastCommandEvent->ZeEvent));
1640
+ ZE2UR_CALL(zeHostSynchronize, (SyncZeEvent));
1641
this->Mutex.lock();
1642
} else {
1643
ZE2UR_CALL(zeHostSynchronize, (LastCommandEvent->ZeEvent));
0 commit comments