<?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:different BLAS and LAPACK functions between OpenMP and Intel TBB in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/different-BLAS-and-LAPACK-functions-between-OpenMP-and-Intel-TBB/m-p/1346424#M32498</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since this is a duplicate thread of &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Threading-Building/Intel-oneAPI-MKL-BLAS-and-LAPACK-functions/m-p/1346041/highlight/true" target="_blank"&gt;https://community.intel.com/t5/Intel-oneAPI-Threading-Building/Intel-oneAPI-MKL-BLAS-and-LAPACK-functions/m-p/1346041/highlight/true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We will no longer monitor this thread. We will continue addressing&lt;/P&gt;&lt;P&gt;this issue in the other thread&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;Noorjahan.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 24 Dec 2021 05:50:28 GMT</pubDate>
    <dc:creator>NoorjahanSk_Intel</dc:creator>
    <dc:date>2021-12-24T05:50:28Z</dc:date>
    <item>
      <title>different BLAS and LAPACK functions between OpenMP and Intel TBB</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/different-BLAS-and-LAPACK-functions-between-OpenMP-and-Intel-TBB/m-p/1346312#M32496</link>
      <description>&lt;P&gt;&lt;SPAN class="textBox sub_section_element_selectors"&gt;&lt;SPAN class="textWrapper sub_section_element_selectors"&gt;Hello everyone,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="textBox sub_section_element_selectors"&gt;&lt;SPAN class="textWrapper sub_section_element_selectors"&gt;I generate a C code from my simulink model. That works fine. I also call the BLAS and Lapack libraries from Intel oneAPI MKL in simulink model in order to speed up the matrix operations as much as possible. But I noticed some BLAS functions are not used in C code. They are level 1 and 2 BLAS functions. The level 3 BLAS functions are successfully used in C code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="textBox sub_section_element_selectors"&gt;&lt;SPAN class="textWrapper sub_section_element_selectors"&gt;My simulink model includes some matrix-vector multiplications, vector additions and scalar-vector multiplications as well which require BLAS functions to be used for level 1 and level 2. The BLAS functions cblas_dgemm and cblas_dtrsm as well as the Lapack function lapacke_dgetrf work well.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;About this issue I read in the Intel MKL Developer Guide that the usable functions are different in threading with OpenMP and Intel TBB. There are no the Level 1 and Level 2 functions threaded with Intel TBB. I got it from that that I should use OpenMP in order to use these functions as well.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="textBox sub_section_element_selectors"&gt;&lt;SPAN class="textWrapper sub_section_element_selectors"&gt;My question is whether the compiler used in matlab has any influence on it.&amp;nbsp;If so, which compilers should I use? I have been using the microsoft visual c++ 2019 compiler in matlab.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="textBox sub_section_element_selectors"&gt;&lt;SPAN class="textWrapper sub_section_element_selectors"&gt;What should I do to use BLAS level 1 and 2 functions as well?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="paragraphNode wrappable"&gt;
&lt;DIV class="paragraphNode wrappable"&gt;&lt;SPAN class="textBox sub_section_element_selectors"&gt;&lt;SPAN class="textWrapper sub_section_element_selectors"&gt;I would be grateful for any advice. Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Dec 2021 18:36:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/different-BLAS-and-LAPACK-functions-between-OpenMP-and-Intel-TBB/m-p/1346312#M32496</guid>
      <dc:creator>semihfk</dc:creator>
      <dc:date>2021-12-23T18:36:15Z</dc:date>
    </item>
    <item>
      <title>Re:different BLAS and LAPACK functions between OpenMP and Intel TBB</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/different-BLAS-and-LAPACK-functions-between-OpenMP-and-Intel-TBB/m-p/1346424#M32498</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since this is a duplicate thread of &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Threading-Building/Intel-oneAPI-MKL-BLAS-and-LAPACK-functions/m-p/1346041/highlight/true" target="_blank"&gt;https://community.intel.com/t5/Intel-oneAPI-Threading-Building/Intel-oneAPI-MKL-BLAS-and-LAPACK-functions/m-p/1346041/highlight/true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We will no longer monitor this thread. We will continue addressing&lt;/P&gt;&lt;P&gt;this issue in the other thread&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;Noorjahan.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Dec 2021 05:50:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/different-BLAS-and-LAPACK-functions-between-OpenMP-and-Intel-TBB/m-p/1346424#M32498</guid>
      <dc:creator>NoorjahanSk_Intel</dc:creator>
      <dc:date>2021-12-24T05:50:28Z</dc:date>
    </item>
  </channel>
</rss>

