Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
722 토론

Query for number of platforms fails for custom application but not for samples on DE10-Pro

TYoun3
초급자
1,956 조회수

I have run various sample programs on the DE10-Pro with no issue. However, when I run my own program I get the following error:

ERROR: UNRECOGNIZED ERROR CODE (-1001) Location: /home/tanner/native_build/FullMonteSW/External/FPGACLAccel/opencl_util/src/AOCLUtils/opencl.cpp:297 Query for number of platforms failed

I have read the following posts but they don't directly address my problem:

https://forums.intel.com/s/question/0D50P00003yyTYcSAM/helloworld-issue-on-arria10gx-development-kit

https://forums.intel.com/s/question/0D50P00004CpZeOSAV/hello-world-design-example-error-1001?t=1560198891230

https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/solutions/fb409015.html

 

aocl diagnose also works fine.

 

Does anyone have a hint as to what could be causing this issue? Thanks in advance.

0 포인트
4 응답
FawazJ_Altera
직원
1,661 조회수

Hello,

I will investigate your case and let you know the feedback.

 

Thanks

0 포인트
FawazJ_Altera
직원
1,661 조회수

Hello,

 

Since the board diagnostics look good and copying the ICD file didn’t help, my next step would be to look at the customer’s gcc/g++ compile arguments for your host program and compare against the sample host programs. It seems something isn’t being linked during your own program’s compile and that’s likely what’s causing this issue. Also, does the issue only occur when trying to run hardware compiles or is it also on emulation? That would be good to verify too.

0 포인트
TYoun3
초급자
1,661 조회수

I don't know how, but I fixed this issue by doing a fresh checkout of the project from source revisions. I will take a look at the difference and post them here if I find anything to help out other users. Thanks for looking into this.

PS: This didn't happen for Emulation.

0 포인트
Ahmed_H_Intel1
1,661 조회수

Hi,

We are looking forward to hear from you your trial and results, please share with everyone once you find anything useful, we really appreciate your help.

Regards

0 포인트
응답