OpenCL host failed
Hi,
I'm using Arria10 DevKit to run OpenCL on it with OpenCL SDK. I followed the guide carefully however aocl flash acl0 boardtest.aocx gives
Device not part of know packages.
--------------------------------------------------------------------
ICD System Diagnostics
--------------------------------------------------------------------
Using the following location for ICD installation:
/etc/OpenCL/vendors
Found 1 icd entry at that location:
/etc/OpenCL/vendors/intel.icd
the following OpenCL libraries are referenced in the icd files:
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so
checking LD_LIBRARY_PATH for registered libraries:
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so was registered on the system.
Using the following location for fcd installations:
/opt/Intel/OpenCL/Boards
Found 1 fcd entry at that location:
/opt/Intel/OpenCL/Boards/a10_ref.fcd
the following OpenCL libraries are referenced in the fcd files:
/home/msaid/intelFPGA_pro/19.2/hld/board/a10_ref/linux64/lib/libaltera_a10_ref_mmd.so
checking LD_LIBRARY_PATH for registered libraries:
/home/msaid/intelFPGA_pro/19.2/hld/board/a10_ref/linux64/lib/libaltera_a10_ref_mmd.so was registered on the system.
ERROR: Query for number of platforms failed -1001
ERROR: OpenCL host failed
--------------------------------------------------------------------
ICD diagnostics FAILED
--------------------------------------------------------------------
--------------------------------------------------------------------
BSP Diagnostics
--------------------------------------------------------------------
--------------------------------------------------------------------
Warning:
No devices attached for package:
/home/msaid/intelFPGA_pro/19.2/hld/board/a10_ref
--------------------------------------------------------------------
--------------------------------------------------------------------
Warning:
No devices attached for package:
/home/msaid/intelFPGA_pro/19.2/hld/board/a10_ref
--------------------------------------------------------------------
Call "aocl diagnose <device-names>" to run diagnose for specified devices
Call "aocl diagnose all" to run diagnose for all devices
Also aocl diagnose gives
--------------------------------------------------------------------
ICD System Diagnostics
--------------------------------------------------------------------
Using the following location for ICD installation:
/etc/OpenCL/vendors
Found 1 icd entry at that location:
/etc/OpenCL/vendors/intel.icd
the following OpenCL libraries are referenced in the icd files:
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so
checking LD_LIBRARY_PATH for registered libraries:
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so was registered on the system.
Using the following location for fcd installations:
/opt/Intel/OpenCL/Boards
Found 1 fcd entry at that location:
/opt/Intel/OpenCL/Boards/a10_ref.fcd
the following OpenCL libraries are referenced in the fcd files:
/home/msaid/intelFPGA_pro/19.2/hld/board/a10_ref/linux64/lib/libaltera_a10_ref_mmd.so
checking LD_LIBRARY_PATH for registered libraries:
/home/msaid/intelFPGA_pro/19.2/hld/board/a10_ref/linux64/lib/libaltera_a10_ref_mmd.so was registered on the system.
ERROR: Query for number of platforms failed -1001
ERROR: OpenCL host failed
--------------------------------------------------------------------
ICD diagnostics FAILED
--------------------------------------------------------------------
--------------------------------------------------------------------
BSP Diagnostics
--------------------------------------------------------------------
--------------------------------------------------------------------
Warning:
No devices attached for package:
/home/msaid/intelFPGA_pro/19.2/hld/board/a10_ref
--------------------------------------------------------------------
Vendor: Intel(R) Corporation
Found no active device installed on the host machine.
Please make sure to:
1. Set the environment variable AOCL_BOARD_PACKAGE_ROOT to the correct board package.
2. Install the driver from the selected board package.
3. Properly install the device in the host machine.
4. Configure the device with a supported OpenCL design.
5. Reboot the machine if the PCI Express link failed.
DIAGNOSTIC_FAILED
--------------------------------------------------------------------
Call "aocl diagnose <device-names>" to run diagnose for specified devices
Call "aocl diagnose all" to run diagnose for all devices