I 'm going to process 10 tasks by2 openvx graphs as soon as possible.
Assume that Each graph execution time is different.
I implemented like following.
for (i = 0; i < 10; i+=2)
/* prepare input data */
/* waiting for finishing graph */
In this case execution time is Sum(max(graph1, graph2)).
If graph1 is finished and graph2 is processing, then graph1 is idle till graph2 finish.
I want to make no idle graph.
How to do such case?
Is there any way to detect the event openvx graph is finished?