Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Then there must be something wrong with your environmental variables somewhere. If the compiled host code is detecting your CPU, but not your FPGA, it means it is being compiled against some SDK other than Altera's, or that your FPGA is not being detected and hence, the host code is using the CPU. Have you made sure your board is detected correctly? e.g. does your board pass "aocl diagnose"? --- Quote End --- I did clean installation of both Ubuntu16.4LTS and Quartus Prime Pro 17.1.0 on my system. But now seeing below issue for both "helloworld" and "vect_add" sample application. mobiliya@mobiliya:~/opencl_examples/vectoradd/vector_add$ bin/host Initializing OpenCL ERROR: UNRECOGNIZED ERROR CODE (-1001) Location: ../common/src/AOCLUtils/opencl.cpp:297 Query for number of platforms failed Kindly note that all environment variables and Aletra Arria10Gx board settings are fine as described in earlier mails. Also both "aocl diagnose" and "lspci" commands work as expected.