<?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: Re:oneAPI 2021.4 esimd Windows run issue of pi_level_zero.dll in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1388373#M2223</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Vidyalatha,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I have some progress on this issue and wish that it can be helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I can run it successfully &lt;SPAN&gt;in "release" mode&amp;nbsp;&lt;/SPAN&gt;by&amp;nbsp;&lt;SPAN&gt;oneAPI 2021.4 release on Windows with Visual Studio 2019.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN&gt;1.&amp;nbsp; Change the header file in the src/gaussian_3.cpp from&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include &amp;lt;opencv2/opencv.hpp&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include&lt;/SPAN&gt; &lt;SPAN&gt;"opencv2/core/core.hpp"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include&lt;/SPAN&gt; &lt;SPAN&gt;"opencv2/highgui/highgui.hpp"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include&lt;/SPAN&gt; &lt;SPAN&gt;"opencv2/imgproc/imgproc.hpp"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN&gt;2. Change image from 24bit jpg to ppm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN&gt;3. Add "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;SYCL_DEVICE_FILTER=opencl:gpu" as VS "LocalDebuggerEnvironment" in&amp;nbsp;gaussian-3.vcxproj.user&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;The attachment "GaussianBlur_new.zip" is my new VS project.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, when I try this by oneAPI 2022.2 with VS 2022,&amp;nbsp; I get this error:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Exception thrown at 0x00007FFB79744FD9 in gaussian-3.exe: Microsoft C++ exception: cl::sycl::compile_program_error at memory location 0x000000C4CE5DD080.&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bug1.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/30006i2A2FDF286694CFD6/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="bug1.png" alt="bug1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;FYI, for oneAPI 2022.2, I change the code from "esimd_sat" to "saturate" func.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;The attachment "GaussianBlur_new_2022.zip is my 2022 VS project.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Qigeng&lt;/P&gt;</description>
    <pubDate>Sun, 29 May 2022 14:56:29 GMT</pubDate>
    <dc:creator>Qigeng</dc:creator>
    <dc:date>2022-05-29T14:56:29Z</dc:date>
    <item>
      <title>oneAPI 2021.4 esimd Windows run issue of pi_level_zero.dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1385560#M2184</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I met an issue when using oneAPI on Windows with ESIMD feature.&lt;/P&gt;
&lt;P&gt;I use oneAPI 2021.4 release on Windows with Visual Studio 2019 and ESIMD feature.&lt;/P&gt;
&lt;P&gt;I can build in "release" mode successfully, but when I run in "release" mode:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qigeng_0-1652950206794.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/29593i8433E4B050199DCF/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Qigeng_0-1652950206794.png" alt="Qigeng_0-1652950206794.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;and I get this message:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Unhandled exception at 0x00007FFDF70BA8BD (pi_level_zero.dll) in gaussian-3.exe: Fatal program exit requested.&lt;/LI-CODE&gt;
&lt;P&gt;The attachment "bug_output.txt" is the full VS output. And "GaussianBlur.zip is my VS project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, I use opencv on Windows by Openvino_2021.4.689.&amp;nbsp; and I can successfully run simple dpc++ code on this machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I am an employee of Intel, ping me directly if any need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Thanks so much!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 08:59:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1385560#M2184</guid>
      <dc:creator>Qigeng</dc:creator>
      <dc:date>2022-05-19T08:59:01Z</dc:date>
    </item>
    <item>
      <title>Re:oneAPI 2021.4 esimd Windows run issue of pi_level_zero.dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1385951#M2185</link>
      <description>&lt;P&gt;Hi Qigeng,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;Could you please try running the code from Intel oneAPI command prompt and let us know if you are getting the same error as in VS?&lt;/P&gt;&lt;P&gt;Also, we suggest you try the latest version(2022) of dpcpp compiler.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 12:16:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1385951#M2185</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-05-20T12:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re:oneAPI 2021.4 esimd Windows run issue of pi_level_zero.dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1386241#M2189</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Vidyalatha,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I try to run the code from Intel oneAPI command prompt, the result is the same:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;gaussian of (3*3):
CPU OpenCV time = 10.913820 ms
die: piMemImageCreate: unsupported image format layout&lt;/LI-CODE&gt;
&lt;P&gt;Besides, we try to use oneAPI 2022.2 with VS 2022, but still get the same result and error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qigeng_0-1653102843988.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/29780iF3CD53E4B05DC81B/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Qigeng_0-1653102843988.png" alt="Qigeng_0-1653102843988.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Qigeng&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 03:15:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1386241#M2189</guid>
      <dc:creator>Qigeng</dc:creator>
      <dc:date>2022-05-21T03:15:41Z</dc:date>
    </item>
    <item>
      <title>Re:oneAPI 2021.4 esimd Windows run issue of pi_level_zero.dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1388054#M2218</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing the details.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working on your issue. we will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2022 12:06:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1388054#M2218</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-05-27T12:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re:oneAPI 2021.4 esimd Windows run issue of pi_level_zero.dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1388373#M2223</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Vidyalatha,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I have some progress on this issue and wish that it can be helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I can run it successfully &lt;SPAN&gt;in "release" mode&amp;nbsp;&lt;/SPAN&gt;by&amp;nbsp;&lt;SPAN&gt;oneAPI 2021.4 release on Windows with Visual Studio 2019.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN&gt;1.&amp;nbsp; Change the header file in the src/gaussian_3.cpp from&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include &amp;lt;opencv2/opencv.hpp&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include&lt;/SPAN&gt; &lt;SPAN&gt;"opencv2/core/core.hpp"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include&lt;/SPAN&gt; &lt;SPAN&gt;"opencv2/highgui/highgui.hpp"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#include&lt;/SPAN&gt; &lt;SPAN&gt;"opencv2/imgproc/imgproc.hpp"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN&gt;2. Change image from 24bit jpg to ppm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN&gt;3. Add "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;SYCL_DEVICE_FILTER=opencl:gpu" as VS "LocalDebuggerEnvironment" in&amp;nbsp;gaussian-3.vcxproj.user&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;The attachment "GaussianBlur_new.zip" is my new VS project.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, when I try this by oneAPI 2022.2 with VS 2022,&amp;nbsp; I get this error:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Exception thrown at 0x00007FFB79744FD9 in gaussian-3.exe: Microsoft C++ exception: cl::sycl::compile_program_error at memory location 0x000000C4CE5DD080.&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bug1.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/30006i2A2FDF286694CFD6/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="bug1.png" alt="bug1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;FYI, for oneAPI 2022.2, I change the code from "esimd_sat" to "saturate" func.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;The attachment "GaussianBlur_new_2022.zip is my 2022 VS project.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Qigeng&lt;/P&gt;</description>
      <pubDate>Sun, 29 May 2022 14:56:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2021-4-esimd-Windows-run-issue-of-pi-level-zero-dll/m-p/1388373#M2223</guid>
      <dc:creator>Qigeng</dc:creator>
      <dc:date>2022-05-29T14:56:29Z</dc:date>
    </item>
  </channel>
</rss>

