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.

Any tutrorial for writing custom kernels for VPU and NCS2

Raza__Ghulam_Jilani
630 Views

Hi! 

I am learning to write custom kernels on various platforms and ive found a very nice tutorial for CPU and GPU as follows:

https://github.com/david-drew/OpenVINO-Custom-Layers/blob/master/2019.r2.0/ReadMe.Windows.2019.r2.md

 

I wanted to know if there is a similar tutorial for VPU and NCS2 as well?

 

Thanks

0 Kudos
3 Replies
David_C_Intel
Employee
630 Views

Hi Ghulam Jilani,

Thank you for reaching out.

The Inference Engine supports only CPU and GPU custom kernels, it is not possible to write custom kernels for the VPU.

If you got any other question, feel free to ask.

 

Best regards,

David

0 Kudos
Raza__Ghulam_Jilani
630 Views

Hi David,

Thanks for responding. But the following document describes a method to write custom layers for the NCS2 as well, can you please explain in which case or how this is applicable?

https://docs.openvinotoolkit.org/latest/_docs_IE_DG_Integrate_your_kernels_into_IE.html#how_to_implement_custom_layers_for_vpu_intel_neural_compute_stick_2

0 Kudos
David_C_Intel
Employee
630 Views

Hello Ghulam Jilani,

I apologize for the confusion, I was not aware of this document.

It is possible to implement a custom layer for VPUs. Is there a particular section of the guide that you need assistance with?

Best Regards, 

David

0 Kudos
Reply