Skip to content

Commit 8feab5e

Browse files
Remove commandStreamReceiver lock in clSetUserEventStatus
Change-Id: I9a095e2b34aef33f8c8fb210445727dec3aefbfa
1 parent a58a897 commit 8feab5e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

runtime/api/api.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,6 @@ cl_int CL_API_CALL clSetUserEventStatus(cl_event event,
17971797
return retVal;
17981798
}
17991799

1800-
auto commandStreamReceiverOwnership = userEvent->getContext()->getDevice(0)->getDefaultEngine().commandStreamReceiver->obtainUniqueOwnership();
18011800
userEvent->setStatus(executionStatus);
18021801
return retVal;
18031802
}

0 commit comments

Comments
 (0)