Showing results for 
Search instead for 
Did you mean: 

DPC++ Error Compiling for hardware

Hi folks

I am working with a physical card. It is a DE10-Standard Cyclone V Soc. My OS is an Ubuntu 20.04 LTS.
I thought my environment was good, but I am not able to compile the Intel's Simple_Add example for hardware.
On device, the example compiles and runs as expected.
However, I cannot compile it for hardware:

~/eclipse-workspace/Simple_Add$ make hw -f Makefile.fpga
dpcpp -O2 -g -std=c++17 -fintelfpga -c src/simple-add-buffers.cpp -o a_buffers.o -DFPGA=1
dpcpp -O2 -g -std=c++17 -v -fintelfpga a_buffers.o -o simple-add-buffers.fpga -Xshardware
Intel(R) oneAPI DPC++ Compiler 2021.1-beta06 (2020.4.0.0415)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/intel/inteloneapi/compiler/latest/linux/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Candidate multilib: .;@m64
Selected multilib: .;@m64
 "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/clang-offload-bundler" -type=o -targets=host-x86_64-unknown-linux-gnu,sycl-spir64_fpga-unknown-unknown-sycldevice -inputs=a_buffers.o -outputs=/tmp/a_buffers-75720e.o,/tmp/a_buffers-20abff.o -unbundle
 "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/llvm-link" /tmp/a_buffers-20abff.o -o /tmp/a_buffers-096a67.bc --suppress-warnings
 "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/sycl-post-link" -ir-output-only -spec-const=default -o /tmp/a_buffers-1abf7b.bc /tmp/a_buffers-096a67.bc
 "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/llvm-spirv" -o /tmp/a_buffers-e3487d.spv -spirv-max-version=1.1 -spirv-ext=+all /tmp/a_buffers-1abf7b.bc
 "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/clang-offload-bundler" -type=o -targets=sycl-fpga_dep -inputs=a_buffers.o -outputs=/tmp/a_buffers-3f2a12.d -unbundle
 "/home/mpenteado/intelFPGA/19.1/hld/bin/aoc" -o /tmp/a_buffers-8323e1.aocx /tmp/a_buffers-e3487d.spv -sycl -dep-files=/tmp/a_buffers-3f2a12.d -output-report-folder=simple-add-buffers.prj -hardware
Error: No recognized input file format on the command line
clang++: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile.fpga:33: simple-add-buffers.fpga] Error 1


Please, can someone help me find out what I am doing wrong?


Best regards,

Labels (1)
0 Kudos
1 Reply

As per the user request, we are closing this thread. So we will no longer respond to this thread.

If you require any additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only 

Have a Good day!

Thanks & Regards