Skip to content

Commit 6e301db

Browse files
committed
Fixed merge failure
1 parent ea90e8a commit 6e301db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl/source/detail/scheduler/commands.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,8 +3257,7 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
32573257
Result != UR_RESULT_SUCCESS)
32583258
return Result;
32593259

3260-
if (Event)
3261-
MEvent->setHandle(*Event);
3260+
SetEventHandleOrDiscard();
32623261
return UR_RESULT_SUCCESS;
32633262
}
32643263
// TODO Either remove "PrefetchUSMExpD2H" on next ABI breaking window,

0 commit comments

Comments
 (0)