How to resolve "Specified kernel was not built for any devices"
Hello everyone,
I am new in using intel products for high level design.
I have build a docker image with FPGA support according to these instructions https://docs.openvinotoolkit.org/2020.2/_docs_install_guides_installing_openvino_docker_linux.html and deployed it in a host machine connected with Bittware 520N FPGA board.
I can compile and run application in emulation mode.
However when I run for the actual error I get the following error:
Using AOCX: hello_world.aocx
Context callback: Specified kernel was not built for any devices
ERROR: CL_INVALID_KERNEL_NAME
Location: host/src/main.cpp:179
Failed to create kernel
I am not sure if it is related, by running aocl diagnose fails for ICD diagnostics.
ICD System Diagnostics
--------------------------------------------------------------------
Using the following location for ICD installation:
/etc/OpenCL/vendors
Found 4 icd entry at that location:
/etc/OpenCL/vendors/intel-cpu.icd
/etc/OpenCL/vendors/intel-neo.icd
/etc/OpenCL/vendors/Altera.icd
/etc/OpenCL/vendors/Intel_FPGA_SSG_Emulator.icd
the following OpenCL libraries are referenced in the icd files:
libintelocl_emu.so
checking LD_LIBRARY_PATH for registered libraries:
WARNING: libintelocl.so NOT FOUND
WARNING: libigdrcl.so NOT FOUND
libalteracl.so was registered on the system at /opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/lib
libintelocl_emu.so was registered on the system at /opt/intel/intelFPGA_pro/18.1/hld/linux64/lib
Using the following location for fcd installations:
/opt/Intel/OpenCL/Boards
Found 1 fcd entry at that location:
/opt/Intel/OpenCL/Boards/nalla_pcie.fcd
the following OpenCL libraries are referenced in the fcd files:
/opt/intel/intelFPGA_pro/18.1/hld/board/nalla_pcie/linux64/lib/libnalla_pcie_mmd.so
checking LD_LIBRARY_PATH for registered libraries:
/opt/intel/intelFPGA_pro/18.1/hld/board/nalla_pcie/linux64/lib/libnalla_pcie_mmd.so was registered on the system.
ERROR: OpenCL host failed
--------------------------------------------------------------------
ICD diagnostics FAILED
How do I solve this issue?