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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user