<?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: Problem using ndrange with Intel Graphics in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1379941#M2085</link>
    <description>&lt;P&gt;Hi, what are your nd_range dimensions?&amp;nbsp; Specifically, what is the value of worker_number in the code snip above?&lt;/P&gt;
&lt;P&gt;GPUs (and other types of accelerators) have limits on the maximum size of the local range (AKA "work-group size"), and if you are exceeding the device maximum you will get an error.&lt;/P&gt;
&lt;P&gt;If you're sure that the value of worker_number is supported by your GPU can you please send additional information about the error you are seeing?&amp;nbsp; Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 22:53:18 GMT</pubDate>
    <dc:creator>Ben_A_Intel</dc:creator>
    <dc:date>2022-04-26T22:53:18Z</dc:date>
    <item>
      <title>Problem using ndrange with Intel Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1379899#M2083</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using DPC++ to enable parallelization for my code. Using sycl::ndrange&amp;lt;1&amp;gt;{N, worker_number} works totally fine when run on CPU (using&amp;nbsp;&lt;SPAN&gt;sycl::host_selector{}). However, when I switch to Intel graphics by using&amp;nbsp;&lt;SPAN&gt;sycl::default_selector{}, the errors are caused by the use of ndrange ( switch to range approach works). Does anybody know what's wrong with it?&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Here is details of my dpcpp version:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;-Intel(R) oneAPI DPC++/C++ Compiler 2022.0.0 (2022.0.0.20211123)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;-Target: x86_64-pc-windows-msvc&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;-Thread model: posix&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Q&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 20:22:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1379899#M2083</guid>
      <dc:creator>QM</dc:creator>
      <dc:date>2022-04-26T20:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using ndrange with Intel Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1379921#M2084</link>
      <description>&lt;P&gt;I have posted this question to Intel OneAPI DPC++ forum as I believe it's more related there. But if anybody know the issue, please let me know.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 21:18:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1379921#M2084</guid>
      <dc:creator>QM</dc:creator>
      <dc:date>2022-04-26T21:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using ndrange with Intel Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1379941#M2085</link>
      <description>&lt;P&gt;Hi, what are your nd_range dimensions?&amp;nbsp; Specifically, what is the value of worker_number in the code snip above?&lt;/P&gt;
&lt;P&gt;GPUs (and other types of accelerators) have limits on the maximum size of the local range (AKA "work-group size"), and if you are exceeding the device maximum you will get an error.&lt;/P&gt;
&lt;P&gt;If you're sure that the value of worker_number is supported by your GPU can you please send additional information about the error you are seeing?&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 22:53:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1379941#M2085</guid>
      <dc:creator>Ben_A_Intel</dc:creator>
      <dc:date>2022-04-26T22:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using ndrange with Intel Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1380216#M2089</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply,&amp;nbsp; local range is previously set at 64, then I changed it to 1, but still does not work. The error message is blank, yeah funny, but honestly, blank. Switching to&amp;nbsp;&lt;SPAN&gt;sycl::host_selector{} and it works perfectly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Q&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 20:43:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1380216#M2089</guid>
      <dc:creator>QM</dc:creator>
      <dc:date>2022-04-27T20:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using ndrange with Intel Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1381505#M2102</link>
      <description>&lt;P&gt;Can you run your test with oneTrace enabled, especially with the CallLogging option ("-c")?&amp;nbsp; This might provide more hints why the error is occurring.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/intel/pti-gpu/tree/master/tools/onetrace" target="_blank"&gt;https://github.com/intel/pti-gpu/tree/master/tools/onetrace&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you can send the exact error you are seeing this will help also.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 17:42:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1381505#M2102</guid>
      <dc:creator>Ben_A_Intel</dc:creator>
      <dc:date>2022-05-03T17:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using ndrange with Intel Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1383147#M2120</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have not heard back from you. As suggested by &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/96443"&gt;@Ben_A_Intel&lt;/a&gt;&amp;nbsp;, could you please try running your test with oneTrace and send the exact error you are seeing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 11:43:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1383147#M2120</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-05-10T11:43:05Z</dc:date>
    </item>
    <item>
      <title>Re:Problem using ndrange with Intel Graphics</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1384868#M2165</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. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.&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;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2022 13:21:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Problem-using-ndrange-with-Intel-Graphics/m-p/1384868#M2165</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-05-17T13:21:32Z</dc:date>
    </item>
  </channel>
</rss>

