P4 to Git Change 1118228 by gandryey@gera-dev-w7 on 2015/02/03 16:17:12
ECR #304775 - Back out changelist 1117184 - There is a hang on CPU in conversion test Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#67 edit
This commit is contained in:
@@ -88,7 +88,10 @@ Event::setStatus(cl_int status, uint64_t timeStamp)
|
||||
timeStamp = recordProfilingInfo(status, timeStamp);
|
||||
}
|
||||
|
||||
status_ = status;
|
||||
if (!make_atomic(status_).compareAndSet(currentStatus, status)) {
|
||||
// Somebody else beat us to it, let them deal with the release/signal.
|
||||
return false;
|
||||
}
|
||||
|
||||
if (callbacks_ != (CallBackEntry*)0) {
|
||||
processCallbacks(status);
|
||||
|
||||
مرجع در شماره جدید
Block a user