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
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2018-05-24 15:36:09 -04:00
1 rodzic
affe06135d
złożenie
34f6e5c3cd
Plik 1 zmieniony
+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
Zablokuj użytkownika