P4 to Git Change 1117184 by gandryey@gera-dev-w7 on 2015/01/30 18:01:14

ECR #304775 - Remove atomic update for the event status

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#66 edit


[ROCm/clr commit: 256f885c07]
このコミットが含まれているのは:
foreman
2015-01-30 18:24:21 -05:00
コミット 2ed57dc873
+1 -4
ファイルの表示
@@ -88,10 +88,7 @@ Event::setStatus(cl_int status, uint64_t timeStamp)
timeStamp = recordProfilingInfo(status, timeStamp);
}
if (!make_atomic(status_).compareAndSet(currentStatus, status)) {
// Somebody else beat us to it, let them deal with the release/signal.
return false;
}
status_ = status;
if (callbacks_ != (CallBackEntry*)0) {
processCallbacks(status);