<?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:DPC++ item's id error in the kernel function in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388271#M2222</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think this must be related to the graphics or driver problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I find it works fine on another machine&lt;/P&gt;</description>
    <pubDate>Sat, 28 May 2022 04:07:16 GMT</pubDate>
    <dc:creator>shenuo</dc:creator>
    <dc:date>2022-05-28T04:07:16Z</dc:date>
    <item>
      <title>DPC++ item's id error in the kernel function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1387723#M2213</link>
      <description>&lt;P&gt;gpu_selector gs;&lt;BR /&gt;cpu_selector cs;&lt;BR /&gt;queue Q(cs);&lt;BR /&gt;queue Q2(gs);&lt;/P&gt;
&lt;P&gt;event ev = Q.submit([&amp;amp;](handler&amp;amp; h) {&lt;BR /&gt;auto out = sycl::stream(1024, 1024 * 2, h);&lt;/P&gt;
&lt;P&gt;h.parallel_for(nd_range(range{960, 540}, range{ 2,2 }), [=](nd_item&amp;lt;2&amp;gt; it) {&lt;BR /&gt;out &amp;lt;&amp;lt; it.get_global_id()[0] &amp;lt;&amp;lt; " " &amp;lt;&amp;lt; it.get_global_id()[1] &amp;lt;&amp;lt; "\n"; &lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;
&lt;P&gt;ev2.wait();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when use Q2, the id output is not reasonable, while Q1 is correct. it seems the has relationship with gpu.&lt;/P&gt;
&lt;P&gt;could any one tell me what's wrong here.&lt;/P&gt;
&lt;P&gt;my gpu is UHD630, cpu is Intel(R) Core(TM) i7-10610U CPU&lt;/P&gt;
&lt;P&gt;OS is win10, IDE is VS2019.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:06:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1387723#M2213</guid>
      <dc:creator>shenuo</dc:creator>
      <dc:date>2022-05-26T14:06:49Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ item's id error in the kernel function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388047#M2216</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide the screenshots of expected results and observed results?&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;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2022 11:44:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388047#M2216</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-05-27T11:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ item's id error in the kernel function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388268#M2220</link>
      <description>&lt;P&gt;thanks for your reply.&lt;/P&gt;
&lt;P&gt;just give you one piece of the result :&lt;/P&gt;
&lt;P&gt;2488645 0&lt;BR /&gt;2488645 1&lt;BR /&gt;2488646 0&lt;BR /&gt;2488646 1&lt;BR /&gt;1251528 2&lt;BR /&gt;1251528 3&lt;BR /&gt;1251529 2&lt;BR /&gt;1251529 3&lt;BR /&gt;37765 2&lt;BR /&gt;15048 0&lt;BR /&gt;37765 3&lt;BR /&gt;37766 2&lt;BR /&gt;15048 1&lt;BR /&gt;37766 3&lt;BR /&gt;15049 0&lt;BR /&gt;15049 1&lt;/P&gt;
&lt;P&gt;you can see the value first dimension is wrong, for the max value is just 960 !&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 03:35:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388268#M2220</guid>
      <dc:creator>shenuo</dc:creator>
      <dc:date>2022-05-28T03:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ item's id error in the kernel function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388271#M2222</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think this must be related to the graphics or driver problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I find it works fine on another machine&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 04:07:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388271#M2222</guid>
      <dc:creator>shenuo</dc:creator>
      <dc:date>2022-05-28T04:07:16Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ item's id error in the kernel function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388892#M2231</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved. If you need any additional information, 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;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2022 13:04:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-item-s-id-error-in-the-kernel-function/m-p/1388892#M2231</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-05-31T13:04:40Z</dc:date>
    </item>
  </channel>
</rss>

