<?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_dgemm crashing when thread is terminated in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-dgemm-crashing-when-thread-is-terminated/m-p/1152443#M27257</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a multithread code and I using MKL multithreaded as well.&lt;/P&gt;&lt;P&gt;I have created a unit test that always crashes MKL.&lt;/P&gt;&lt;P&gt;Let me explain the test:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;From the main thread (MT), I create another thread (T1) to multiply a 4096x4096 matrix.&lt;/LI&gt;&lt;LI&gt;T1 calls&amp;nbsp;cblas_dgemm&lt;/LI&gt;&lt;LI&gt;It's a heavy processing, then I let MT sleep for 1 second&lt;/LI&gt;&lt;LI&gt;Then, I invoke T1 termination&lt;/LI&gt;&lt;LI&gt;MKL crashes 100% of my attempts so far&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Would someone know how can I work this around? I mean, to turn cblas_dgemm thread safer.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 21:10:21 GMT</pubDate>
    <dc:creator>Almeida__Caetano</dc:creator>
    <dc:date>2019-05-23T21:10:21Z</dc:date>
    <item>
      <title>cblas_dgemm crashing when thread is terminated</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-dgemm-crashing-when-thread-is-terminated/m-p/1152443#M27257</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a multithread code and I using MKL multithreaded as well.&lt;/P&gt;&lt;P&gt;I have created a unit test that always crashes MKL.&lt;/P&gt;&lt;P&gt;Let me explain the test:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;From the main thread (MT), I create another thread (T1) to multiply a 4096x4096 matrix.&lt;/LI&gt;&lt;LI&gt;T1 calls&amp;nbsp;cblas_dgemm&lt;/LI&gt;&lt;LI&gt;It's a heavy processing, then I let MT sleep for 1 second&lt;/LI&gt;&lt;LI&gt;Then, I invoke T1 termination&lt;/LI&gt;&lt;LI&gt;MKL crashes 100% of my attempts so far&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Would someone know how can I work this around? I mean, to turn cblas_dgemm thread safer.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 21:10:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-dgemm-crashing-when-thread-is-terminated/m-p/1152443#M27257</guid>
      <dc:creator>Almeida__Caetano</dc:creator>
      <dc:date>2019-05-23T21:10:21Z</dc:date>
    </item>
    <item>
      <title>could you give us the example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-dgemm-crashing-when-thread-is-terminated/m-p/1152444#M27258</link>
      <description>&lt;P&gt;could you give us the example of the code we could compile and reproduce?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 03:35:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-dgemm-crashing-when-thread-is-terminated/m-p/1152444#M27258</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-05-24T03:35:40Z</dc:date>
    </item>
    <item>
      <title>Resolved!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-dgemm-crashing-when-thread-is-terminated/m-p/1152445#M27259</link>
      <description>&lt;P&gt;Resolved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Updated from 2018.3 to 2019.4 and the crash doesn't happen anymore!&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 16:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cblas-dgemm-crashing-when-thread-is-terminated/m-p/1152445#M27259</guid>
      <dc:creator>Almeida__Caetano</dc:creator>
      <dc:date>2019-05-24T16:23:00Z</dc:date>
    </item>
  </channel>
</rss>

