<?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 cblas_sgemv_batch_strided threading problem in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-sgemv-batch-strided-threading-problem/m-p/1572652#M35835</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;with intel oneApi 2023.0:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to force&amp;nbsp;&lt;EM&gt;cblas_sgemv_batch_strided&lt;/EM&gt; to run on ONE thread.&lt;/P&gt;&lt;P&gt;I set :&lt;/P&gt;&lt;P&gt;mkl_set_num_threads_local( 1 )&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;BR /&gt;mkl_domain_set_num_threads(1, MKL_DOMAIN_BLAS)&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkl_domain_set_num_threads(1, MKL_DOMAIN_ALL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or both&lt;/P&gt;&lt;P&gt;but I can see a lot of tbb thread in all cases&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see one thread only if I set MKL_THREADING sequential before my cmake find_package&lt;/P&gt;&lt;P&gt;but it's not possible in my use case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it a bug of that gemv function ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With my best regards,&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 17:45:20 GMT</pubDate>
    <dc:creator>MicPac</dc:creator>
    <dc:date>2024-02-15T17:45:20Z</dc:date>
    <item>
      <title>cblas_sgemv_batch_strided threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-sgemv-batch-strided-threading-problem/m-p/1572652#M35835</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;with intel oneApi 2023.0:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to force&amp;nbsp;&lt;EM&gt;cblas_sgemv_batch_strided&lt;/EM&gt; to run on ONE thread.&lt;/P&gt;&lt;P&gt;I set :&lt;/P&gt;&lt;P&gt;mkl_set_num_threads_local( 1 )&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;BR /&gt;mkl_domain_set_num_threads(1, MKL_DOMAIN_BLAS)&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkl_domain_set_num_threads(1, MKL_DOMAIN_ALL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or both&lt;/P&gt;&lt;P&gt;but I can see a lot of tbb thread in all cases&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see one thread only if I set MKL_THREADING sequential before my cmake find_package&lt;/P&gt;&lt;P&gt;but it's not possible in my use case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it a bug of that gemv function ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With my best regards,&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 17:45:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-sgemv-batch-strided-threading-problem/m-p/1572652#M35835</guid>
      <dc:creator>MicPac</dc:creator>
      <dc:date>2024-02-15T17:45:20Z</dc:date>
    </item>
    <item>
      <title>Re:cblas_sgemv_batch_strided threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-sgemv-batch-strided-threading-problem/m-p/1578403#M35895</link>
      <description>&lt;P&gt;Based on your previous comments, you are using the openMP related routine.&lt;/P&gt;&lt;P class="ql-indent-1"&gt;&lt;SPAN style="font-size: 14px;"&gt;mkl_set_num_threads_local( 1 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ql-indent-1"&gt;&lt;SPAN style="font-size: 14px;"&gt;or&amp;nbsp;mkl_domain_set_num_threads(1, MKL_DOMAIN_BLAS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ql-indent-1"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Thus, you need to link with openMP but not with TBB. For further details and understanding, you can refer to our user guide or get started documents.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Mar 2024 06:27:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-sgemv-batch-strided-threading-problem/m-p/1578403#M35895</guid>
      <dc:creator>SofeaAzrin_A_Intel</dc:creator>
      <dc:date>2024-03-07T06:27:23Z</dc:date>
    </item>
    <item>
      <title>Re:cblas_sgemv_batch_strided threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-sgemv-batch-strided-threading-problem/m-p/1580338#M35921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We recommend you to look in TBB runtime design. The function that you mentioned is not possible to do. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2024 06:14:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-sgemv-batch-strided-threading-problem/m-p/1580338#M35921</guid>
      <dc:creator>SofeaAzrin_A_Intel</dc:creator>
      <dc:date>2024-03-14T06:14:56Z</dc:date>
    </item>
  </channel>
</rss>

