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.
6401 Discussions

Using OpenVX with GPU, Channelextract nodes cannot process at the same time

Hayashi__Noriyoshi
405 Views

I’m tring to accelerate image processing using OpenVX with GPU. But it is slower than CPU.
I analyzed profile with Vtune, and I noticed channelextract nodes didn’t process 3 channels at the same time. Why is this processing divided? Is it better to process channelextract nodes on CPU than GPU?

 

part of code

vxCreateImageFromHandle(context, VX_DF_IMAGE_RGB, &frameFormat, &frameData, VX_IMPORT_TYPE_HOST),

vxCreateVirtualImage(graph, inputWidth, inputHeight, VX_DF_IMAGE_U8),

vxCreateVirtualImage(graph, inputWidth, inputHeight, VX_DF_IMAGE_U8),

vxCreateVirtualImage(graph, inputWidth, inputHeight, VX_DF_IMAGE_U8),

 

 

vxChannelExtractNode(graph, images[0], VX_CHANNEL_R, images[1]),

vxChannelExtractNode(graph, images[0], VX_CHANNEL_G, images[2]),

vxChannelExtractNode(graph, images[0], VX_CHANNEL_B, images[3]),

0 Kudos
1 Reply
Shubha_R_Intel
Employee
405 Views

Dear Hayashi, Noriyoshi,

Unfortunately this is the wrong forum for OpenVX questions. Please use the below forum for your OpenVX questions:

https://community.khronos.org/c/openvx

This forum is targeted to Model Optimizer and Inference Engine (OpenVino) questions.

Thanks,

Shubha

0 Kudos
Reply