<?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: Any way to do array reduction ? in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1399986#M2356</link>
    <description>&lt;P&gt;I found that ruduction of sycl::float2/3/4/8/16 and sycl::double2/3/4/8/16 does the trick for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope arbitrary-size array reduction will be supported soon!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 12:27:48 GMT</pubDate>
    <dc:creator>baranovsky</dc:creator>
    <dc:date>2022-07-13T12:27:48Z</dc:date>
    <item>
      <title>Any way to do array reduction ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1374607#M2029</link>
      <description>&lt;P&gt;Single variable reduction seems to be possible with sycl::reduction interface.&lt;/P&gt;
&lt;P&gt;According to&amp;nbsp;"SYCL 2020 Specification (revision 4)", array reduction will be achieved via reduction interface with std::span, which does not exist in current oneAPI release.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;template &amp;lt;typename T, typename Extent, typename BinaryOperation&amp;gt;
__unspecified__ reduction(span&amp;lt;T, Extent&amp;gt; vars, const T&amp;amp; identity, BinaryOperation combiner, const property_list &amp;amp;propList = {});&lt;/LI-CODE&gt;
&lt;P&gt;Is there any way to do array reduction at this point?&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 03:16:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1374607#M2029</guid>
      <dc:creator>baranovsky</dc:creator>
      <dc:date>2022-04-06T03:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to do array reduction ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1375509#M2036</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;Yes, you are correct array reduction will be achieved via reduction interface with std::span, and is not supported in current oneAPI release. We will discuss with the Developer team and come back with an update soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Noorjahan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 09:36:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1375509#M2036</guid>
      <dc:creator>NoorjahanSk_Intel</dc:creator>
      <dc:date>2022-04-08T09:36:18Z</dc:date>
    </item>
    <item>
      <title>Re:Any way to do array reduction ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1376049#M2038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;DPC++ supports built-in reduction operations, for more information, please refer to this guide &lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/oneapi-gpu-optimization-guide/top/kernels/reduction.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/oneapi-gpu-optimization-guide/top/kernels/reduction.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Apr 2022 06:50:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1376049#M2038</guid>
      <dc:creator>cw_intel</dc:creator>
      <dc:date>2022-04-11T06:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to do array reduction ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1378300#M2057</link>
      <description>&lt;P&gt;Thank you everyone!&lt;BR /&gt;I'm going to implement array reduction by using the built-in reduction operation multiple time.&lt;BR /&gt;I will move to the std::span interface, once it is supported!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 00:02:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1378300#M2057</guid>
      <dc:creator>baranovsky</dc:creator>
      <dc:date>2022-04-20T00:02:12Z</dc:date>
    </item>
    <item>
      <title>Re:Any way to do array reduction ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1380602#M2093</link>
      <description>&lt;P&gt;Thanks for accepting our solution. 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;BR /&gt;</description>
      <pubDate>Fri, 29 Apr 2022 03:10:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1380602#M2093</guid>
      <dc:creator>cw_intel</dc:creator>
      <dc:date>2022-04-29T03:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to do array reduction ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1399986#M2356</link>
      <description>&lt;P&gt;I found that ruduction of sycl::float2/3/4/8/16 and sycl::double2/3/4/8/16 does the trick for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope arbitrary-size array reduction will be supported soon!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 12:27:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Any-way-to-do-array-reduction/m-p/1399986#M2356</guid>
      <dc:creator>baranovsky</dc:creator>
      <dc:date>2022-07-13T12:27:48Z</dc:date>
    </item>
  </channel>
</rss>

