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
[ROCm/clr commit: 34f6e5c3cd]
This commit is contained in:
1 vanhempi
8b4b912c3f
commit
4378898d00
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user