<?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: Potential Bug in Execution Capability Reporting for Level Zero Devices in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1628313#M4083</link>
    <description>&lt;P&gt;Thanks for the detailed description and reproducer. I've escalated your issue to our internal team to investigate.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 18:21:21 GMT</pubDate>
    <dc:creator>Alex_Y_Intel</dc:creator>
    <dc:date>2024-09-03T18:21:21Z</dc:date>
    <item>
      <title>Potential Bug in Execution Capability Reporting for Level Zero Devices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1628209#M4078</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have encountered a possible bug in the SYCL implementation regarding how execution capabilities are reported for Level Zero devices. According to the SYCL 2020 specification, all SYCL-compliant devices should support "info::execution_capability::exec_kernel". However, when querying this capability on Level Zero devices using oneAPI/DPC++, the capability is not reported, despite these devices being able to execute SYCL kernels.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Operating System: Windows 11 Home&amp;nbsp;23H2&lt;/LI&gt;&lt;LI&gt;GPU:&amp;nbsp;11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz with&amp;nbsp;Intel(R) UHD Graphics&lt;/LI&gt;&lt;LI&gt;oneAPI/DPC++ Version: 2024.2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Issue Description:&lt;/STRONG&gt; The issue occurs when querying the execution capabilities of devices. The expected capability "exec_kernel" is not found in the list for devices using the Level Zero backend, which contradicts both the SYCL standard's requirements and the actual capabilities of these devices, as they can indeed execute kernels.&lt;/P&gt;&lt;P&gt;Attached is the simple reproducer.&lt;/P&gt;&lt;P&gt;Output of this reproducer on my system:&lt;/P&gt;&lt;PRE&gt;Device: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz&lt;BR /&gt;Backend: OpenCL&lt;BR /&gt;Driver version: 2024.18.7.0.11_160000&lt;BR /&gt;Backend version: 3.0&lt;BR /&gt;Supports exec_kernel: Yes&lt;BR /&gt;------------------------------------------------------&lt;BR /&gt;Device: Intel(R) UHD Graphics&lt;BR /&gt;Backend: OpenCL&lt;BR /&gt;Driver version: 32.0.101.5972&lt;BR /&gt;Backend version: 3.0&lt;BR /&gt;Supports exec_kernel: Yes&lt;BR /&gt;------------------------------------------------------&lt;BR /&gt;Device: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz&lt;BR /&gt;Backend: OpenCL&lt;BR /&gt;Driver version: 2024.17.3.0.08_160000&lt;BR /&gt;Backend version: 3.0&lt;BR /&gt;Supports exec_kernel: Yes&lt;BR /&gt;------------------------------------------------------&lt;BR /&gt;Device: Intel(R) FPGA Emulation Device&lt;BR /&gt;Backend: OpenCL&lt;BR /&gt;Driver version: 2024.17.3.0.08_160000&lt;BR /&gt;Backend version: 1.2&lt;BR /&gt;Supports exec_kernel: Yes&lt;BR /&gt;------------------------------------------------------&lt;BR /&gt;Device: Intel(R) UHD Graphics&lt;BR /&gt;Backend: Level Zero&lt;BR /&gt;Driver version: 1.3.30398&lt;BR /&gt;Backend version: 1.3.30398&lt;BR /&gt;Supports exec_kernel: No&lt;BR /&gt;------------------------------------------------------&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Expected Behavior:&lt;/STRONG&gt; Devices, which are capable of executing SYCL kernels, should report "info::execution_capability::exec_kernel" as supported.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Actual Behavior:&lt;/STRONG&gt; Level Zero device does not list "exec_kernel" among their execution capabilities, despite being able to execute kernels (as proved in other tests).&lt;/P&gt;&lt;P&gt;I would appreciate your insights on whether this is an intended behavior or an oversight in the current implementation or drivers. Any guidance or fixes you could provide would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 10:28:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1628209#M4078</guid>
      <dc:creator>blinkfrog</dc:creator>
      <dc:date>2024-09-03T10:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Potential Bug in Execution Capability Reporting for Level Zero Devices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1628313#M4083</link>
      <description>&lt;P&gt;Thanks for the detailed description and reproducer. I've escalated your issue to our internal team to investigate.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 18:21:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1628313#M4083</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-09-03T18:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Potential Bug in Execution Capability Reporting for Level Zero Devices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1632262#M4098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/313980"&gt;@blinkfrog&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might not be a bug, from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="external-link" href="https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_device_information_descriptors" target="_blank" rel="nofollow noopener"&gt;Table 25. Device information descriptors&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Returns a std::vector of the info::execution_capability describing the supported execution capabilities. *&lt;STRONG&gt;Note that this information is intended for OpenCL interoperability only&lt;/STRONG&gt;* as SYCL only supports info::execution_capability::exec_kernel.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;We do think a clarification is needed on this from the Khronos WG and have raised a PR for the same&amp;nbsp;&lt;A href="https://github.com/KhronosGroup/SYCL-Docs/pull/625" target="_blank"&gt;Clarify and deprecate "execution_capabilities" by gmlueck · Pull Request #625 · KhronosGroup/SYCL-Docs (github.com)&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 19 Sep 2024 16:53:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1632262#M4098</guid>
      <dc:creator>Sravani_K_Intel</dc:creator>
      <dc:date>2024-09-19T16:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Potential Bug in Execution Capability Reporting for Level Zero Devices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1639673#M4161</link>
      <description>&lt;P&gt;Thank you very much for your reply. While there is no a definitive answer yet, I am accepting this as a solution and closing the topic. I've subscribed to get updates from that PR so I will get further information there as soon as it will be available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that there is ambiguilty in formulation of that clause in the standard, which leads to different treating it by different SYCL implementations. For example, AdaptiveCpp reports "&lt;SPAN&gt;info::execution_capability::exec_kernel" as supported for all backends I tested there, such as OpenMP, CUDA and HIP.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 10:13:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Potential-Bug-in-Execution-Capability-Reporting-for-Level-Zero/m-p/1639673#M4161</guid>
      <dc:creator>blinkfrog</dc:creator>
      <dc:date>2024-10-28T10:13:48Z</dc:date>
    </item>
  </channel>
</rss>

