I am attempting to compile and run the hello world design example on Windows 7 with Visual Studio 2010. I have AOCL and Quartus installed and the environment configured according to the quick start guide.
"aocl diagnose acl0" has been tested.Show "DIAGNOSTIC_PASSED".
But when I run the host.exe, an error has occurred.Like this:
Warning: Cannot find any Intel(R) FPGA Board libraries. No Intel(R) FPGA devices will be loaded.
Please contact your board vender or see section "Linking Your Host Application to the Khronos ICD
Loader Library" of the Programming Guide to set up FCD manually.
Querying platform for info:
CL_PLATFORM_NAME = Intel(R) FPGA SDK for OpenCL(TM)
CL_PLATFORM_VENDOR = Intel(R) Corporation
CL_PLATFORM_VERSION = OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 17.1
Query for number of devices failed
"aocl diagnose acl0" has been tested.Show "DIAGNOSTIC_PASSED"
I came up with the same error last week, and it was FCD problem.
Check /opt/Intel/OpenCL/Boards/pac_a10.fcd file exists.
If not, make one and write a path to mmd shared library inside board support package.
[heehoon@localhost ~]$ cat /opt/Intel/OpenCL/Boards/pac_a10.fcd /scratch/inteldevstack/a10_gx_pac_ias_1_1_pv/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so
I suppose fcd should be installed with "aocl install acl0" but it says it is not implemented.
edit: oh, BTW, it is for linux. adopt properly for windows
I do not know how to set up FCD correctly. reference to section "Linking Your Host Application to the Khronos ICD Loader Library" of the Programming Guide to set up FCD manually,but it don't work.
I don't know windows environment well, but it seems like FCD is linked to a10_ref board, which is different from pac_a10.
Find mmd inside intel acceleration dev stack installation (maybe, intel_opae_mmd.dll ?), and change registry value to that path.
thank you ,and my board a10gx works well now.
I change registry [HKEY_LOCAL_MACHINE\SOFTWARE\Intel\OpenCL\Boards] "D: