- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
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 */
graph1.prepare(input);
graph2.prepare(input[i+1]);
/* waiting for finishing graph */
graph1.wait();
graph2.wait();
}
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?
Best regards.
Thanks.
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page