P4 to Git Change 1788987 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/29 11:44:11

SWDEV-190565 - [HIP] Relaxed the event wait list condition on context matching

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#23 edit
This commit is contained in:
foreman
2019-05-29 12:11:49 -04:00
orang tua 523b233cb0
melakukan a410dec4c7
@@ -196,9 +196,6 @@ clSetEventWaitList(
if (!is_valid(event)) {
return CL_INVALID_EVENT_WAIT_LIST;
}
if (&hostQueue.context() != &amdEvent->context()) {
return CL_INVALID_CONTEXT;
}
if ((amdEvent->command().queue() != &hostQueue) && !amdEvent->notifyCmdQueue()) {
return CL_INVALID_EVENT_WAIT_LIST;
}