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.

Openvino error

Dharmisha_D_Intel
762 Views

ERROR: CL_DEVICE_NOT_FOUND
 

I get this error when trying to run openvino with FPGA in containers. what am i missing.

0 Kudos
5 Replies
Shubha_R_Intel
Employee
762 Views

Dear Dharmisha D.,

Perhaps this demo will help you :

https://github.com/intel/intel-device-plugins-for-kubernetes/tree/master/demo#intel-fpga-device-plugin-demo-video

Let me know -

Thanks,

Shubha

0 Kudos
Dharmisha_D_Intel
762 Views

This is the demo that I am following. It works fine with the nlb3 demo bitsteam, but not for openvino related inference workloads.

0 Kudos
Shubha_R_Intel
Employee
762 Views

Dear Dharmisha D. 

Do any other OpenCL workloads work on the board?  I’d make sure the board is functioning properly first. In other words, remove the containers from the equation first.

Hope it helps,

Thanks,

Shubha

 

0 Kudos
Dharmisha_D_Intel
762 Views

When I run on Bare metal it works fine

In Containers. I get the following error with opencl workloads

root@caas-openvino-object-detection:/# /opt/intel/openvino/inference_engine/samples/build/intel64/Release/object_detection_demo -i /opt/intel/openvino/deployment_tools/demo/car.png -m /VGG16_faster_rcnn_final.xml -d HETERO:FPGA,CPU
[ INFO ] InferenceEngine:
        API version ............ 1.6
        Build .................. custom_releases/2019/R1.1_28dfbfdd28954c4dfd2f94403dd8dfc1f411038b
Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     /opt/intel/openvino/deployment_tools/demo/car.png
[ INFO ] Loading plugin

        API version ............ 1.6
        Build .................. heteroPlugin
        Description ....... heteroPlugin
[ INFO ] Loading network files:
        /VGG16_faster_rcnn_final.xml
        /VGG16_faster_rcnn_final.bin
[ INFO ] num_classes guessed: 21
[ INFO ] Preparing input blobs
[ INFO ] Batch size is 1
[ INFO ] Preparing output blobs
[ INFO ] Loading model to the plugin
Error initializing DMA: 1
Error initializing mmd dma
Error initializing bsp
terminate called after throwing an instance of 'dla::error'
Aborted (core dumped)
 

FPGA is accessible to the container. It also has access to /dev/intel-fpga-port.0.

root@non-faas-openvino-object-detection:/# fpgainfo fme

Board Management Controller, microcontroller FW version 26889

Last Power Down Cause: POK_CORE

Last Reset Cause: None

//****** FME ******//

Object Id                     : 0xED00000

PCIe s:b:d:f                  : 0000:AF:00:0

Device Id                     : 0x09C4

Socket Id                     : 0x00

Ports Num                     : 01

Bitstream Id                  : 0x123000200000185

Bitstream Version             : 0x746E692F00030201

Pr Interface Id               : 69528db6-eb31-577a-8c36-68f9faa081f6

 

root@non-faas-openvino-object-detection:/# lsmod | grep fpga

intel_fpga_pac_hssi    18347  0

intel_fpga_fme         54120  0

intel_fpga_afu         32069  0

fpga_mgr_mod           14693  1 intel_fpga_fme

intel_fpga_pci         26684  2 intel_fpga_afu,intel_fpga_fme

I was trying to debug using the simple aocl list-devices on bare metal and in container command and got the following error:

  1. Bare-metal

 

  1. Container: It says the card is uninitialized , however it is already programmed and initialized.

0 Kudos
Shubha_R_Intel
Employee
762 Views

Dear Dharmisha D,

It looks to me that you are on a very old OpenVino version... API version ............ 1.6.

We just released OpenVino 2019R3. Can you kindly try again with the latest release ?

Thanks,

Shubha

0 Kudos
Reply