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
Dieser Commit ist enthalten in:
foreman committed 2018-05-24 15:36:09 -04:00
1 Ursprung affe06135d
Commit 34f6e5c3cd
1 Datei geändert
+3
+3
Datei anzeigen
@@ -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;