<?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 Re: Runtime failures in ESIMD example code when linked with other SYCL modules in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1599047#M3768</link>
    <description>&lt;P&gt;I've only built it with Visual Studio 2022 (public release, latest updates)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried running the executable from the Intel OneAPI command prompt but the results are the same.&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 12:47:44 GMT</pubDate>
    <dc:creator>MikeDB</dc:creator>
    <dc:date>2024-05-20T12:47:44Z</dc:date>
    <item>
      <title>Runtime failures in ESIMD example code when linked with other SYCL modules</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1594947#M3698</link>
      <description>I'm getting runtime compilation failures or incorrect behaviour when running ESIMD sample code which only occurs when other SYCL modules are linked into the same program even if they are not run. I'm using DPC++ 2024.1 from&lt;BR /&gt;up to date Visual Studio 2022 with default compiler options. I'm running on an 12th gen alder lake Intel Iris Xe-LP integrated GPU.&lt;BR /&gt;&lt;BR /&gt;For example, create a new DPC++ console project in visual studio 2022. Replace the existing main program with the SIMD view ESIMD example from&lt;BR /&gt;&lt;A href="https://github.com/intel/llvm/tree/sycl/sycl%2Fdoc%2Fextensions%2Fsupported%2Fsycl_ext_intel_esimd%2Fexamples" target="_blank"&gt;https://github.com/intel/llvm/tree/sycl/sycl%2Fdoc%2Fextensions%2Fsupported%2Fsycl_ext_intel_esimd%2Fexamples&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then add a second source file with the contents of the sum two arrays sample from the same place. Rename main in the sum two arrays sample to something else to prevent duplicate main() link conflicts.&lt;BR /&gt;&lt;BR /&gt;If I now build and run the project, I get runtime compilation failure opencl code 11 even though the second source file is not being executed. If I remove the second source file from being linked, the SIMD view example program runs correctly.&lt;BR /&gt;&lt;BR /&gt;Do I need extra DPC++ compiler options when using ESIMD code or does ESIMD code need modification to run with Intel DPC++? Are there known problems linking ESIMD with other SYCL code in the same program?&lt;BR /&gt;&lt;BR /&gt;I can't see anything unusual in the build output even if verbose build with all warnings enabled. Any suggestions for how to diagnose this problem further in the compiler or at runtime?&lt;BR /&gt;&lt;BR /&gt;In other projects I've had the simd view sample produce incorrect results rather than fail to compile at runtime.</description>
      <pubDate>Sat, 04 May 2024 13:29:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1594947#M3698</guid>
      <dc:creator>MikeDB</dc:creator>
      <dc:date>2024-05-04T13:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime failures in ESIMD example code when linked with other SYCL modules</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1596480#M3723</link>
      <description>&lt;P&gt;Please provide exact files you used and reproducing steps to demonstrate the issue. We need this information to investigate further.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 22:32:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1596480#M3723</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-05-09T22:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime failures in ESIMD example code when linked with other SYCL modules</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1596678#M3728</link>
      <description>&lt;P&gt;I've included the Visual Studio projects and source files to demonstrate the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 Rebuild&lt;/P&gt;&lt;P&gt;2 Run&lt;/P&gt;&lt;P&gt;Expected - Should run successfully&lt;/P&gt;&lt;P&gt;Actual - Fails at runtime with exception, Open CL error code -11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Removing&amp;nbsp;ESIMD_sum_two_arrays.cpp from the project will fix the failure even though the SYCL kernel in that source file is not being executed. Just commenting out the SYCL kernel in this unused source file is enough to fix the failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is being run on the integrated Iris-Xe GPU on an i7-1260p CPU on Windows 11. There are no discrete GPUs installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project was created from a default DPC++ console project using the correspond ESIMD example programs from intel llvm github. The only change is renaming main() in&amp;nbsp;ESIMD_sum_two_arrays.cpp to avoid a link conflict.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 10:01:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1596678#M3728</guid>
      <dc:creator>MikeDB</dc:creator>
      <dc:date>2024-05-10T10:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime failures in ESIMD example code when linked with other SYCL modules</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1598695#M3764</link>
      <description>&lt;P&gt;Have you tried this on "Intel oneAPI command prompt" or only MS visual studio? What's the version of your visual studio?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2024 01:22:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1598695#M3764</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-05-18T01:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime failures in ESIMD example code when linked with other SYCL modules</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1599047#M3768</link>
      <description>&lt;P&gt;I've only built it with Visual Studio 2022 (public release, latest updates)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried running the executable from the Intel OneAPI command prompt but the results are the same.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 12:47:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1599047#M3768</guid>
      <dc:creator>MikeDB</dc:creator>
      <dc:date>2024-05-20T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime failures in ESIMD example code when linked with other SYCL modules</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1599123#M3770</link>
      <description>&lt;P&gt;Is your "latest update" 17.9.7? Please note that Intel only supports up to 17.9.2 as for now.&lt;/P&gt;
&lt;P&gt;I've tried your issue on our platform and while Visual Studio shows some issues, the command prompt shows correct results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 17:46:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1599123#M3770</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-05-20T17:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime failures in ESIMD example code when linked with other SYCL modules</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1600248#M3783</link>
      <description>&lt;P&gt;Thanks for your reply. I'm actually using Visual Studio 17.9.6 at the moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For various other reasons it looks like ESIMD is not suitable for my current project so I'm shelving work on ESIMD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll test again at some point with a future update of Intel DPC++.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 13:19:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Runtime-failures-in-ESIMD-example-code-when-linked-with-other/m-p/1600248#M3783</guid>
      <dc:creator>MikeDB</dc:creator>
      <dc:date>2024-05-23T13:19:23Z</dc:date>
    </item>
  </channel>
</rss>

