<?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:Program built with oneAPI DPC++  fails to run with error message internal compiler error, abnormal in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1558349#M3484</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. If you have any issues, please post a new question as this thread will no longer be monitored by Intel.&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;Vankudothu Vaishnavi.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Dec 2023 05:35:35 GMT</pubDate>
    <dc:creator>VaishnaviV_Intel</dc:creator>
    <dc:date>2023-12-29T05:35:35Z</dc:date>
    <item>
      <title>Program built with oneAPI DPC++  fails to run with error message internal compiler error, abnormal</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1552134#M3479</link>
      <description>&lt;P&gt;I have installed the standalone version of DPC++ toolkit version: Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2023.2.2 Build 20230922.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a new project in visual studio version: Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.1.6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the test program code is as follows:&lt;/P&gt;&lt;P&gt;// Copyright (C) 2023 Intel Corporation&lt;/P&gt;&lt;P&gt;// SPDX-License-Identifier: MIT&lt;/P&gt;&lt;P&gt;#include &amp;lt;algorithm&amp;gt;&lt;BR /&gt;#include &amp;lt;iostream&amp;gt;&lt;BR /&gt;#include &amp;lt;sycl/sycl.hpp&amp;gt;&lt;BR /&gt;using namespace sycl;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;auto handle_async_error = [](exception_list elist) {&lt;BR /&gt;for (auto&amp;amp; e : elist) {&lt;BR /&gt;try { std::rethrow_exception(e); }&lt;BR /&gt;catch (sycl::exception&amp;amp; e) {&lt;BR /&gt;std::cout &amp;lt;&amp;lt; "ASYNC EXCEPTION!!\n";&lt;BR /&gt;std::cout &amp;lt;&amp;lt; e.what() &amp;lt;&amp;lt; "\n";&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;int main() {&lt;BR /&gt;// Set up queue on any available device&lt;BR /&gt;queue q{ gpu_selector_v, handle_async_error };&lt;/P&gt;&lt;P&gt;// Initialize input and output memory on the host&lt;BR /&gt;constexpr size_t N = 256;&lt;BR /&gt;std::vector&amp;lt;int&amp;gt; a(N), b(N), c(N);&lt;BR /&gt;std::fill(a.begin(), a.end(), 1);&lt;BR /&gt;std::fill(b.begin(), b.end(), 2);&lt;BR /&gt;std::fill(c.begin(), c.end(), 0);&lt;/P&gt;&lt;P&gt;try{&lt;BR /&gt;// Create buffers associated with inputs and output&lt;BR /&gt;buffer&amp;lt;int, 1&amp;gt; a_buf{a}, b_buf{b}, c_buf{c};&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;std::cout &amp;lt;&amp;lt; "call submit" &amp;lt;&amp;lt; std::endl;&lt;BR /&gt;// Submit the kernel to the queue&lt;BR /&gt;q.submit([&amp;amp;](handler&amp;amp; h) {&lt;BR /&gt;accessor a{a_buf, h};&lt;BR /&gt;accessor b{b_buf, h};&lt;BR /&gt;accessor c{c_buf, h};&lt;/P&gt;&lt;P&gt;// BEGIN CODE SNIP&lt;BR /&gt;h.parallel_for(range{N}, [=](id&amp;lt;1&amp;gt; idx) {&lt;BR /&gt;c[idx] = a[idx] + b[idx];&lt;BR /&gt;});&lt;BR /&gt;// END CODE SNIP&lt;BR /&gt;}).wait();&lt;BR /&gt;std::cout &amp;lt;&amp;lt; "submit returned" &amp;lt;&amp;lt; std::endl;&lt;BR /&gt;}&lt;BR /&gt;catch(sycl::exception&amp;amp; e)&lt;BR /&gt;{&lt;BR /&gt;std::cout &amp;lt;&amp;lt; "Caught sync SYCL exception: " &amp;lt;&amp;lt; e.what() &amp;lt;&amp;lt; "\n";&lt;BR /&gt;return 1;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// Check that all outputs match expected value&lt;BR /&gt;bool passed = std::all_of(c.begin(), c.end(),&lt;BR /&gt;[](int i) { return (i == 3); });&lt;BR /&gt;std::cout &amp;lt;&amp;lt; ((passed) ? "SUCCESS" : "FAILURE")&lt;BR /&gt;&amp;lt;&amp;lt; std::endl;&lt;BR /&gt;return (passed) ? 0 : 1;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Building the example in Visual studio succeeds :&lt;/P&gt;&lt;P&gt;------ Rebuild All started: Project: ch04_4_5_vector_add, Configuration: Debug x64 ------&lt;BR /&gt;1&amp;gt;Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2023.2.2 Build 20230922&lt;BR /&gt;1&amp;gt;Copyright (C) 1985-2023 Intel Corporation. All rights reserved.&lt;BR /&gt;1&amp;gt;&lt;BR /&gt;1&amp;gt;icx-cl /fsycl /c /ZI /W3 /O2 /D _DEBUG /D _UNICODE /D UNICODE /WX- /EHsc /std:c++17 /MDd /IC:\\git_repos\\vcpkg\\installed\\x64-windows\\include /Fox64\\Debug\\ /Zc:__cplusplus ch04_4_5_vector_add.cpp&lt;BR /&gt;========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However when attempting to execute it fails. Starting Power shell and running the intel\oneAPI\setvars.bat followed by the&amp;nbsp;ch04_4_5_vector_add.exe results in the following output:&lt;/P&gt;&lt;P&gt;C:\Users\XXXX\source\repos\ch04_4_5_vector_add\x64\Debug&amp;gt; .\ch04_4_5_vector_add.exe&lt;BR /&gt;call submit&lt;/P&gt;&lt;P&gt;internal compiler error, abnormal program termination&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried changing the optimisation level to /Od and /O1 and both fail in the same way. Building and running the Release version fails in the same way.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Note if I use the cpu_selector_v instead of the gpu_selector_v everything works as expected.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Device manager reports that I have an Intel UHD graphics adapter in my laptop.&lt;BR /&gt;OS details:&amp;nbsp;Windows 10 Enterprise version 22H2&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2023 03:39:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1552134#M3479</guid>
      <dc:creator>Herman1</dc:creator>
      <dc:date>2023-12-09T03:39:07Z</dc:date>
    </item>
    <item>
      <title>Re:Program built with oneAPI DPC++  fails to run with error message internal compiler error, abnormal</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1553014#M3480</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting on Intel communities.&lt;/P&gt;&lt;P&gt;Could you please try it on latest Intel oneAPI compiler i.e. 2024.0 and let us know if you are still facing the same issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please refer to the below link to download the latest version,&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html&lt;/A&gt;&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;Vankudothu Vaishnavi.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Dec 2023 10:26:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1553014#M3480</guid>
      <dc:creator>VaishnaviV_Intel</dc:creator>
      <dc:date>2023-12-12T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Program built with oneAPI DPC++  fails to run with error message internal compiler error, abnorm</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1553736#M3481</link>
      <description>&lt;P&gt;Hello &lt;SPAN&gt;Vankudothu&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;I tried with version 2024.0 and got the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Herman&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 22:46:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1553736#M3481</guid>
      <dc:creator>Herman1</dc:creator>
      <dc:date>2023-12-13T22:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Program built with oneAPI DPC++  fails to run with error message internal compiler error, abnorm</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1556155#M3482</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience and understanding.&lt;/P&gt;
&lt;P&gt;We are not able to reproduce your issue at our end.&lt;/P&gt;
&lt;P&gt;Could you please share the sycl-ls output and clinfo report with us to check the graphics driver version?&lt;/P&gt;
&lt;P&gt;Also, you can try installing the whole toolkit from the below link,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Vankudothu Vaishnavi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 02:43:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1556155#M3482</guid>
      <dc:creator>VaishnaviV_Intel</dc:creator>
      <dc:date>2023-12-21T02:43:08Z</dc:date>
    </item>
    <item>
      <title>Re:Program built with oneAPI DPC++  fails to run with error message internal compiler error, abnormal</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1557685#M3483</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update on your issue?&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;Vankudothu Vaishnavi.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Dec 2023 04:26:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1557685#M3483</guid>
      <dc:creator>VaishnaviV_Intel</dc:creator>
      <dc:date>2023-12-27T04:26:53Z</dc:date>
    </item>
    <item>
      <title>Re:Program built with oneAPI DPC++  fails to run with error message internal compiler error, abnormal</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1558349#M3484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. If you have any issues, please post a new question as this thread will no longer be monitored by Intel.&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;Vankudothu Vaishnavi.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Dec 2023 05:35:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Program-built-with-oneAPI-DPC-fails-to-run-with-error-message/m-p/1558349#M3484</guid>
      <dc:creator>VaishnaviV_Intel</dc:creator>
      <dc:date>2023-12-29T05:35:35Z</dc:date>
    </item>
  </channel>
</rss>

