Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

OpenVX parallel graph running issue.

Kosh__Stephen
Beginner
263 Views

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.

 

0 Kudos
0 Replies
Reply