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

Difference between vxAddUseKernel() and vxAddDeviceKernelIntel()

Deepak_C_R
Beginner
870 Views

What is the difference between vxAddUseKernel() and vxAddDeviceKernelIntel() ?.

The generated code using VAD contains vxAddUseKernel() function to add user kernel function but in the cnn_custom_kernel sample code the function used is vxAddDeviceKernelIntel() for doing the same.

Is the cnn_custom_kernel codes are generated using VAD tool ?.

 

0 Kudos
1 Reply
Stav_S_Intel
Employee
870 Views

Hi Deepak, 

 vxAddDeviceKernelIntel adds a device kernel - gpu opencl kernel. This is an ability Intel offers in CV SDK. 
so, vxAddUserKernel is a regular cpu user kernel, while the vxAddDeviceKernelIntel  is an openCL gpu kernel.
vad will also enable to create openCL gpe kernels in the upcoming release.

You can also use the samples user guide that explains these functions. 

Regards,

Stav

0 Kudos
Reply