<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DPC++ Error Compiling for hardware in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Error-Compiling-for-hardware/m-p/1204604#M684</link>
    <description>&lt;P&gt;Hi folks&lt;/P&gt;
&lt;P&gt;I am working with a physical card. It is a DE10-Standard Cyclone V Soc. My OS is an Ubuntu 20.04 LTS.&lt;BR /&gt;I thought my environment was good, but I am not able to compile the Intel's Simple_Add example for hardware.&lt;BR /&gt;On device, the example compiles and runs as expected.&lt;BR /&gt;However, I cannot compile it for hardware:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;~/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
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Please, can someone help me find out what I am doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 10:27:06 GMT</pubDate>
    <dc:creator>Penteado__Mauricio</dc:creator>
    <dc:date>2020-08-27T10:27:06Z</dc:date>
    <item>
      <title>DPC++ Error Compiling for hardware</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Error-Compiling-for-hardware/m-p/1204604#M684</link>
      <description>&lt;P&gt;Hi folks&lt;/P&gt;
&lt;P&gt;I am working with a physical card. It is a DE10-Standard Cyclone V Soc. My OS is an Ubuntu 20.04 LTS.&lt;BR /&gt;I thought my environment was good, but I am not able to compile the Intel's Simple_Add example for hardware.&lt;BR /&gt;On device, the example compiles and runs as expected.&lt;BR /&gt;However, I cannot compile it for hardware:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;~/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
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Please, can someone help me find out what I am doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 10:27:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Error-Compiling-for-hardware/m-p/1204604#M684</guid>
      <dc:creator>Penteado__Mauricio</dc:creator>
      <dc:date>2020-08-27T10:27:06Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ Error Compiling for hardware</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Error-Compiling-for-hardware/m-p/1204955#M688</link>
      <description>&lt;P&gt;As per the user request, we are closing this thread. So we will no longer respond to this thread. &lt;/P&gt;&lt;P&gt;If you require any additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Aug 2020 11:32:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Error-Compiling-for-hardware/m-p/1204955#M688</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-08-28T11:32:46Z</dc:date>
    </item>
  </channel>
</rss>

