<?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 Do the MKL FFT Handler creation  uses malloc?? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054339#M21341</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;When we want to use MKL FFT we create a handler for that. So do this handler creation involves &lt;STRONG&gt;malloc&amp;nbsp;&lt;/STRONG&gt;system call? If not which method is used to allocate memory.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;sivaramakrishna&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2014 12:05:46 GMT</pubDate>
    <dc:creator>shiva_rama_krishna_b</dc:creator>
    <dc:date>2014-11-12T12:05:46Z</dc:date>
    <item>
      <title>Do the MKL FFT Handler creation  uses malloc??</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054339#M21341</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;When we want to use MKL FFT we create a handler for that. So do this handler creation involves &lt;STRONG&gt;malloc&amp;nbsp;&lt;/STRONG&gt;system call? If not which method is used to allocate memory.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;sivaramakrishna&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 12:05:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054339#M21341</guid>
      <dc:creator>shiva_rama_krishna_b</dc:creator>
      <dc:date>2014-11-12T12:05:46Z</dc:date>
    </item>
    <item>
      <title>MKL calls the i_malloc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054340#M21342</link>
      <description>&lt;P&gt;MKL calls the i_malloc callback function&amp;nbsp;which has the same interface as malloc and&amp;nbsp;can be overridden by the user.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 12:18:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054340#M21342</guid>
      <dc:creator>Evgueni_P_Intel</dc:creator>
      <dc:date>2014-11-12T12:18:20Z</dc:date>
    </item>
    <item>
      <title>Thank you Evgueni Petrov.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054341#M21343</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/410407" style="font-size: 11.3333330154419px; line-height: 11px; background-color: rgb(238, 238, 238);"&gt;Evg&lt;/A&gt;&lt;A href="https://software.intel.com/en-us/user/410407" style="font-size: 11.3333330154419px; line-height: 11px; background-color: rgb(238, 238, 238);"&gt;ueni Petrov&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;what happens If more than one thread calls creation of handler of its own. do they run sequncially or parallel?.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;sivaramakrishna&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 04:56:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054341#M21343</guid>
      <dc:creator>shiva_rama_krishna_b</dc:creator>
      <dc:date>2014-11-13T04:56:10Z</dc:date>
    </item>
    <item>
      <title>MKL does not serialize</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054342#M21344</link>
      <description>&lt;P&gt;MKL does not serialize execution of DftiCreateDescriptor in different application threads.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 05:53:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054342#M21344</guid>
      <dc:creator>Evgueni_P_Intel</dc:creator>
      <dc:date>2014-11-13T05:53:35Z</dc:date>
    </item>
    <item>
      <title>Hi Evgueni Petrov,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054343#M21345</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/410407" style="font-size: 11.3333330154419px; line-height: 11px; background-color: rgb(238, 238, 238);"&gt;Evgueni Petrov&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;I was trying call FFT by multiple threads at a time. code snippet looks like below. I noticed &amp;nbsp;[MKLSERVICE]@lock function in vtune profiler. when i pulled the handler creation outside the loop, i did not find&amp;nbsp;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 13.0080003738403px;"&gt;[MKLSERVICE]@lock in vtune profiler. This is actually making me to believe that MKL is doing some locking while allocating handler.&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:;"&gt;
#pragma omp parallel num_threads(236)
for(i = 0; i &amp;lt; 236; i++)
{
                          .
                          .
                          .
                       some functions..
                          .
                          .

                      create handler one for each 'i'.
                      Call FFT using 'i'.

}&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;sivaramakrishna&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2014 07:19:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Do-the-MKL-FFT-Handler-creation-uses-malloc/m-p/1054343#M21345</guid>
      <dc:creator>shiva_rama_krishna_b</dc:creator>
      <dc:date>2014-11-21T07:19:59Z</dc:date>
    </item>
  </channel>
</rss>

