<?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: Base_Vector_Add not working on Windows with Intel(R) Iris(R) Plus Graphics in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1633902#M4113</link>
    <description>&lt;P&gt;Please provide a reproducer, exact reproducing commands, and a screen shot of your issue.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Sep 2024 00:42:13 GMT</pubDate>
    <dc:creator>Alex_Y_Intel</dc:creator>
    <dc:date>2024-09-28T00:42:13Z</dc:date>
    <item>
      <title>Base_Vector_Add not working on Windows with Intel(R) Iris(R) Plus Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1633556#M4109</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a Microsoft Surface Pro 7 PC with Intel iCore 7 processor and integrated&amp;nbsp;Intel(R) Iris(R) Plus Graphics. It has&amp;nbsp;Windows OS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downloaded the latest Intel oneAPI BaseToolkit 2024.2 and proceeded to run the&amp;nbsp;Base_Vector_Add sample both from the windows CMD prompt and then via Visual Studio.&amp;nbsp; The sample compiles fine but does not run correctly. I get this output with VS2022.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;Running on device: Intel(R) Iris(R) Plus Graphics&lt;BR /&gt;Vector size: 10000&lt;/P&gt;&lt;P&gt;C:\Users\rcb\Work\code\repos\sycl-tests\Base_Vector_Add\out\build\x64-Debug\vector-add-buffers.exe (process 21164) exited with code -1073741819 (0xc0000005).&lt;BR /&gt;Press any key to close this window .&amp;nbsp;&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a test I used the cpu_selector instead of the default_selector on Windows and get this expected output from the CPU.&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;Running on device: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz&lt;BR /&gt;Vector size: 10000&lt;BR /&gt;[0]: 0 + 0 = 0&lt;BR /&gt;[1]: 1 + 1 = 2&lt;BR /&gt;[2]: 2 + 2 = 4&lt;BR /&gt;...&lt;BR /&gt;[9999]: 9999 + 9999 = 19998&lt;BR /&gt;Vector add successfully completed on device.&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interestingly though I also have WSL2 installed on the system with Ubuntu linux.&amp;nbsp; I have followed the instructions and installed oneAPI base toolkit as well under Ubuntu WSL2.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The samples compiles and runs correctly on the GPU, as shown here,&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; vector-add-buffers&lt;BR /&gt;Running on device: Intel(R) Graphics [0x8a52]&lt;BR /&gt;Vector size: 10000&lt;BR /&gt;[0]: 0 + 0 = 0&lt;BR /&gt;[1]: 1 + 1 = 2&lt;BR /&gt;[2]: 2 + 2 = 4&lt;BR /&gt;...&lt;BR /&gt;[9999]: 9999 + 9999 = 19998&lt;BR /&gt;Vector add successfully completed on device.&lt;/P&gt;&lt;P&gt;================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, can you confirm that the Intel Iris Plus Graphics is indeed supported?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, do you have any idea what may be going wrong from the Windows compiler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems strange that it would work from WSL2 Ubuntu but not from native Windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RCB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 06:38:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1633556#M4109</guid>
      <dc:creator>RCB1</dc:creator>
      <dc:date>2024-09-26T06:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Base_Vector_Add not working on Windows with Intel(R) Iris(R) Plus Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1633902#M4113</link>
      <description>&lt;P&gt;Please provide a reproducer, exact reproducing commands, and a screen shot of your issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 00:42:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1633902#M4113</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-09-28T00:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Base_Vector_Add not working on Windows with Intel(R) Iris(R) Plus Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1634030#M4120</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&amp;nbsp;As requested, I attach;&lt;/P&gt;&lt;P&gt;1. A zip file with the Base_Vector_Add sample directory, including the src/ directory and the cmake files used&lt;/P&gt;&lt;P&gt;2. A screenshot of the error generated on windows when running Base_Vector_Add.exe&lt;/P&gt;&lt;P&gt;3. The windows CMD prompt listing of the whole cmake build process and execution and generated error&lt;/P&gt;&lt;P&gt;4. The WSL2 (Ubuntu) BASH shell listing of the whole cmake build process and execution and successful results output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For windows I followed these instructions&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/oneapi-base-toolkit/get-started-guide-windows/2024-0/run-project-visual-studio-command-line.html" target="_blank"&gt;Build and Run a Sample Project Using the Visual Studio* Command Line (intel.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For WSL2 (Ubuntu) I followed these instructions&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/oneapi-base-toolkit/get-started-guide-linux/2024-0/run-a-sample-project-using-the-command-line.html" target="_blank"&gt;Build and Run a Sample Project Using the Command Line (intel.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Items 2 3 and 4 are also included in the zip file (item 1).&amp;nbsp;&amp;nbsp;The listings also include the output of sycl-ls command on both systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RCB&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 14:11:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1634030#M4120</guid>
      <dc:creator>RCB1</dc:creator>
      <dc:date>2024-09-29T14:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Base_Vector_Add not working on Windows with Intel(R) Iris(R) Plus Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1634275#M4123</link>
      <description>&lt;P&gt;I've escalated your issue for further investigation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 18:54:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Base-Vector-Add-not-working-on-Windows-with-Intel-R-Iris-R-Plus/m-p/1634275#M4123</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-09-30T18:54:06Z</dc:date>
    </item>
  </channel>
</rss>

