P4 to Git Change 1559246 by gandryey@gera-w8 on 2018/05/24 15:30:37

SWDEV-79445 - OCL generic changes and code clean-up
	- Notify command queues about waiting events before command submission. That allows to issue a marker earlier to avoid extra latency when other jobs can be submitted before a notification in the worker thread.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#21 edit
This commit is contained in:
foreman committed 2018-05-24 15:36:09 -04:00
1 parent affe06135d
commit 34f6e5c3cd
1 file changed
+3
+3
View File
@@ -199,6 +199,9 @@ clSetEventWaitList(
if (&context != &amdEvent->context()) {
return CL_INVALID_CONTEXT;
}
if (!amdEvent->notifyCmdQueue()) {
return CL_INVALID_EVENT_WAIT_LIST;
}
eventWaitList.push_back(amdEvent);
}
return CL_SUCCESS;