<?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 Performance problem with sycl math functions in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184384#M414</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am developing the application which use math function like cos(), sin(), atan(), sqrt() etc.&amp;nbsp;I noticed the performance problem with using function from cl::sycl namespace.The performance of my application is notable worse when I am using these&amp;nbsp;functions in comparison to their equivalent C++&amp;nbsp;implementation in cmath header.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can be a problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Kamil&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 13:17:40 GMT</pubDate>
    <dc:creator>H__Kamil</dc:creator>
    <dc:date>2020-05-12T13:17:40Z</dc:date>
    <item>
      <title>Performance problem with sycl math functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184384#M414</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am developing the application which use math function like cos(), sin(), atan(), sqrt() etc.&amp;nbsp;I noticed the performance problem with using function from cl::sycl namespace.The performance of my application is notable worse when I am using these&amp;nbsp;functions in comparison to their equivalent C++&amp;nbsp;implementation in cmath header.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can be a problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Kamil&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 13:17:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184384#M414</guid>
      <dc:creator>H__Kamil</dc:creator>
      <dc:date>2020-05-12T13:17:40Z</dc:date>
    </item>
    <item>
      <title>Hi Kamil,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184385#M415</link>
      <description>&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us!&lt;/P&gt;&lt;P&gt;Could you please let us know on which device you are analyzing the performance (CPU/iGPU). Also, provide your system environment details So that we would be able to investigate more.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OS Version&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;oneAPI Basekit Version&lt;/STRONG&gt;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible, please provide the &lt;STRONG&gt;source code&lt;/STRONG&gt; and &lt;STRONG&gt;steps to reproduce&lt;/STRONG&gt; how you are analyzing the performance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 12:35:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184385#M415</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-05-13T12:35:57Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184386#M416</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;currently, I am investigating the performance of CPU code. My goal is to write a single kernel for both CPU and iGPU.&amp;nbsp;Currently, I am analyzing the code by debugging and measuring the execution time.&amp;nbsp;I noticed the performance problem when replacing these functions for equivalent sycl implementation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am no able to provide the code since it contains a lot of lines of code. But, I will try to prepare some code for you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;OS Version: Ubuntu 18.04 LTS&lt;/P&gt;&lt;P&gt;Device:&amp;nbsp;Intel&amp;nbsp;Xeon&amp;nbsp;E-2176G CPU&lt;/P&gt;&lt;P&gt;oneAPI:&amp;nbsp;Intel&amp;nbsp;oneAPI DPC++ Compiler 2021.1-beta06 (2020.4.0.0415)&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 08:59:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184386#M416</guid>
      <dc:creator>H__Kamil</dc:creator>
      <dc:date>2020-05-15T08:59:41Z</dc:date>
    </item>
    <item>
      <title>Hi Kamil,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184387#M417</link>
      <description>&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;Thanks for providing the environment details!&lt;/P&gt;&lt;P&gt;Along with the code, if possible could you also please share the &lt;STRONG&gt;steps to reproduce&lt;/STRONG&gt; and more details on how you are &lt;STRONG&gt;analyzing the performance&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 07:44:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184387#M417</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-05-18T07:44:33Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184388#M418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I send two version of the same code. It is a simple example of usage standard cos() function and equivalent its&amp;nbsp;sycl implementation. In the first case, the code is executed in 14 sec (main1.cpp) while the second case takes 37 seconds (main2.cpp). In the code, i am measuring the performance of the code executed for subsequent of time steps.&lt;/P&gt;&lt;P&gt;The compilation flags: dpcpp -O3 -g -W -Wall -pedantic -fsycl-unnamed-lambda&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Kamil&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 20:30:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184388#M418</guid>
      <dc:creator>H__Kamil</dc:creator>
      <dc:date>2020-05-20T20:30:07Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184389#M419</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;do you have any ideas how to solve my problems ? :)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Kamil&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 20:41:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1184389#M419</guid>
      <dc:creator>H__Kamil</dc:creator>
      <dc:date>2020-05-26T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Re:Performance problem with sycl math functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1201181#M659</link>
      <description>&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;Can you check the performance with Beta08?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subarna&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Aug 2020 07:12:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1201181#M659</guid>
      <dc:creator>Subarnarek_G_Intel</dc:creator>
      <dc:date>2020-08-18T07:12:55Z</dc:date>
    </item>
    <item>
      <title>Re:Performance problem with sycl math functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1282266#M1151</link>
      <description>&lt;P&gt;Hi Kamil,&lt;/P&gt;&lt;P&gt;Could you please install the latest version of Intel OneAPI i.e 2021.2 and check whether your issue persists? &lt;/P&gt;&lt;P&gt;If yes, please raise a new thread mentioning all the required details. We will surely help you there.&lt;/P&gt;&lt;P&gt;As we have not heard back from you, we are closing this thread here. Any further interaction in this thread will be considered community only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Thanks &amp;amp; Regards,&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Goutham&lt;/I&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2021 08:38:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Performance-problem-with-sycl-math-functions/m-p/1282266#M1151</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2021-05-18T08:38:04Z</dc:date>
    </item>
  </channel>
</rss>

