Remove commandStreamReceiver lock in clSetUserEventStatus

Change-Id: I9a095e2b34aef33f8c8fb210445727dec3aefbfa
This commit is contained in:
Kamil Diedrich
2019-01-09 08:57:48 +01:00
committed by sys_ocldev
parent a58a897bf3
commit 8feab5e570

View File

@@ -1797,7 +1797,6 @@ cl_int CL_API_CALL clSetUserEventStatus(cl_event event,
return retVal;
}
auto commandStreamReceiverOwnership = userEvent->getContext()->getDevice(0)->getDefaultEngine().commandStreamReceiver->obtainUniqueOwnership();
userEvent->setStatus(executionStatus);
return retVal;
}