<?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 Hi, in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167568#M279</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a known issue on Devcloud. The team is working on it and the issue is likely to be fixed soon.&lt;/P&gt;&lt;P&gt;Henceforth, requesting you to raise&amp;nbsp;FPGA related queries to the&amp;nbsp;forum:&amp;nbsp;&lt;A href="https://forums.intel.com/s/topic/0TO0P0000001AUUWA2/intel-high-level-design?language=en_US"&gt;Intel® High Level Design&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2020 12:51:00 GMT</pubDate>
    <dc:creator>RahulV_intel</dc:creator>
    <dc:date>2020-02-10T12:51:00Z</dc:date>
    <item>
      <title>SYCL kernel compilation for FGPA emulation fails with an internal compiler error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167563#M274</link>
      <description>&lt;P&gt;I am experimenting with the FPGA toolchain for oneAPI and developed the attached kernel for the gaussian elimination algorithm.&lt;/P&gt;&lt;P&gt;I am able to compile and execute the kernel for and with the CPU, and also to generate the synthesis report, but the compilation for the FPGA emulator always fails with the following error message:&lt;/P&gt;
&lt;PRE class="brush:; wrap-lines:false;"&gt;!dbg attachment points at wrong subprogram for function
!2357 = distinct !DISubprogram(name: "_ZTSZZ5gaussRN2cl4sycl5queueERNS0_6bufferIfLi2ENS0_6detail17aligned_allocatorIcEEEEENK3$_0clERNS0_7handlerEE5Gauss", scope: null, file: !3, line: 47, type: !1926, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized | DISPFlagMainSubprogram, unit: !2, templateParams: !73, retainedNodes: !2358)
void (i64, i64, float addrspace(1)*, %"class._ZTSN2cl4sycl5rangeILi2EEE.cl::sycl::range"*, %"class._ZTSN2cl4sycl5rangeILi2EEE.cl::sycl::range"*, %"class._ZTSN2cl4sycl5rangeILi2EEE.cl::sycl::range"*)* @"__Vectorized_._ZTSZZ5gaussRN2cl4sycl5queueERNS0_6bufferIfLi2ENS0_6detail17aligned_allocatorIcEEEEENK3$_0clERNS0_7handlerEE5Gauss"
  %unroll_iter.ucf_allones = sub nuw i64 %0, %xtraiter, !dbg !2610
!2610 = !DILocation(line: 63, column: 17, scope: !2611, inlinedAt: !2699)
!2700 = distinct !DILexicalBlock(scope: !2701, file: !3)
!2701 = distinct !DISubprogram(name: "_ZTSZZ5gaussRN2cl4sycl5queueERNS0_6bufferIfLi2ENS0_6detail17aligned_allocatorIcEEEEENK3$_0clERNS0_7handlerEE5Gauss", scope: null, file: !3, line: 47, type: !1926, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized | DISPFlagMainSubprogram, unit: !2614, templateParams: !73, retainedNodes: !2702)
!dbg attachment points at wrong subprogram for function
!2327 = distinct !DISubprogram(name: "_ZTSZZ5gaussRN2cl4sycl5queueERNS0_6bufferIfLi2ENS0_6detail17aligned_allocatorIcEEEEENK3$_0clERNS0_7handlerEE5Gauss", scope: null, file: !3, line: 47, type: !1938, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized | DISPFlagMainSubprogram, unit: !2, templateParams: !73, retainedNodes: !2328)
void (i64, i64, float addrspace(1)*, %"class._ZTSN2cl4sycl5rangeILi2EEE.cl::sycl::range"*, %"class._ZTSN2cl4sycl5rangeILi2EEE.cl::sycl::range"*, %"class._ZTSN2cl4sycl5rangeILi2EEE.cl::sycl::range"*)* @"__Vectorized_._ZTSZZ5gaussRN2cl4sycl5queueERNS0_6bufferIfLi2ENS0_6detail17aligned_allocatorIcEEEEENK3$_0clERNS0_7handlerEE5Gauss"
  %unroll_iter.ucf_allones = sub nuw i64 %0, %xtraiter, !dbg !2581
!2581 = !DILocation(line: 63, column: 17, scope: !2582, inlinedAt: !2670)
!2671 = distinct !DILexicalBlock(scope: !2672, file: !3)
!2672 = distinct !DISubprogram(name: "_ZTSZZ5gaussRN2cl4sycl5queueERNS0_6bufferIfLi2ENS0_6detail17aligned_allocatorIcEEEEENK3$_0clERNS0_7handlerEE5Gauss", scope: null, file: !3, line: 47, type: !1938, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized | DISPFlagMainSubprogram, unit: !2585, templateParams: !73, retainedNodes: !2673)
DICompileUnit not listed in llvm.dbg.cu
!2585 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !3, producer: "spirv", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, imports: !2586)
**Internal compiler error** Broken module found, compilation aborted!
Please report the issue on Intel OpenCL forum 
&lt;A href="https://software.intel.com/en-us/forums/opencl" target="_blank"&gt;https://software.intel.com/en-us/forums/opencl&lt;/A&gt; for assistance. 
 Stack dump:
0.      Running pass 'Intel OpenCL BarrierMain' on module 'main'.
Error: Compiler Error: OpenCL kernel compile/link FAILED
/home/&amp;lt;user&amp;gt;/tmp/gauss-f9175e.o: file not recognized: File truncated&lt;/PRE&gt;

&lt;P&gt;The commands I'm using are:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;dpcpp gauss.cpp -o sycl                             # Compiling for the CPU
dpcpp -fintelfpga gauss.cpp -fsycl-link -Xshardware # Generating the report
dpcpp -fintelfpga gauss.cpp -o sycl                 # Compiling for the emulator&lt;/PRE&gt;

&lt;P&gt;I'm running on an "fpga_compile" node in the devcloud; you can look up the specs.&lt;/P&gt;
&lt;P&gt;First of all: Is this the right forum to report this question? The message points me to the OpenCL forum, but I guess that this is a general, broad-scope problem. Does anybody know what this error message means?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 10:39:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167563#M274</guid>
      <dc:creator>Opdenhövel__Jan-Oliv</dc:creator>
      <dc:date>2020-01-08T10:39:32Z</dc:date>
    </item>
    <item>
      <title>Hi Jan-Oliver,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167564#M275</link>
      <description>&lt;P&gt;Hi Jan-Oliver,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us. We are working on the issue . We will get back to you soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Sushma.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 05:34:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167564#M275</guid>
      <dc:creator>Sushma_P_Intel</dc:creator>
      <dc:date>2020-01-09T05:34:16Z</dc:date>
    </item>
    <item>
      <title>Hi Jan-Oliver,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167565#M276</link>
      <description>&lt;P&gt;Hi Jan-Oliver,&lt;/P&gt;&lt;P&gt;We tried to compile the code on 'fpga_compile' node. We can see that you are trying to compile the code for FPGA Emulator but followed the steps for&amp;nbsp;FPGA&amp;nbsp; hardware.&lt;/P&gt;&lt;P&gt;Try to compile the code with ' -DFPGA_EMULATOR' flag. You can try&amp;nbsp;compiling&amp;nbsp;the code without a flag also because by default it runs on FPGA Emulator.&lt;/P&gt;&lt;P&gt;Try following this way and see if the issue resolves. Hope this resolves your issue. Feel free to reach us further&amp;nbsp;issues.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Sushma&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 10:31:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167565#M276</guid>
      <dc:creator>Sushma_P_Intel</dc:creator>
      <dc:date>2020-01-09T10:31:20Z</dc:date>
    </item>
    <item>
      <title>Hi Jan-Oliver,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167566#M277</link>
      <description>&lt;P&gt;Hi Jan-Oliver,&lt;/P&gt;&lt;P&gt;Kindly let us know if the solution provided helped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 06:31:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167566#M277</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-01-14T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Hey Sushma,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167567#M278</link>
      <description>&lt;P&gt;Hey Sushma,&lt;/P&gt;&lt;P&gt;I'm afraid, but the `-DFPGA_EMULATOR` flag doesn't help. I get the exact same error message. :/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jan-Oliver&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 08:20:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167567#M278</guid>
      <dc:creator>Opdenhövel__Jan-Oliv</dc:creator>
      <dc:date>2020-01-28T08:20:46Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167568#M279</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a known issue on Devcloud. The team is working on it and the issue is likely to be fixed soon.&lt;/P&gt;&lt;P&gt;Henceforth, requesting you to raise&amp;nbsp;FPGA related queries to the&amp;nbsp;forum:&amp;nbsp;&lt;A href="https://forums.intel.com/s/topic/0TO0P0000001AUUWA2/intel-high-level-design?language=en_US"&gt;Intel® High Level Design&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 12:51:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SYCL-kernel-compilation-for-FGPA-emulation-fails-with-an/m-p/1167568#M279</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-02-10T12:51:00Z</dc:date>
    </item>
  </channel>
</rss>

