Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sent
Beginner
216 Views

Error: Compiler Error: OpenCL kernel compile/link FAILED

Hi, I am new to oneAPI and I am trying to ramping up. I installed Intel® oneAPI Base Toolkit and am able to successfully run the vector add sample program in my ubuntu system(Intel Core i5). Then I tried to compile same Vector_Add project for FPGA in emulation mode using below command.

make fpga_emu -f Makefile.fpga

At the time of compilation, I am facing below error.

dpcpp  -fintelfpga src/vector-add.cpp -o vector-add.fpga_emu -DFPGA_EMULATOR
Error: Compiler Error: OpenCL kernel compile/link FAILED
/tmp/vector-add-d62ec6.o: file not recognized: File truncated
clang++: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile.fpga:10: recipe for target 'vector-add.fpga_emu' failed
make: *** [vector-add.fpga_emu] Error 1

Any help on resolving this error is much appreciated.

Thanks in advance.

Tags (1)
0 Kudos
2 Replies
WILLIAM_H_Intel4
Employee
216 Views

Hello!  Can you confirm that you configured your environment as described here:

https://software.intel.com/en-us/articles/getting-started-with-intel-devcloud-for-oneapi-projects

Specifically verify:

Note Compile jobs should be submitted to compute nodes labeled fpga_compile, which are dedicated to FPGA compile jobs

0 Kudos
ChithraJ_Intel
Moderator
216 Views

Hi,

FPGA issues are not handled here. Please ask your question in the Intel® High Level Design Forum.

0 Kudos