Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

cblas_dgemm crashing when thread is terminated

$
0
0

Hello,

I have a multithread code and I using MKL multithreaded as well.

I have created a unit test that always crashes MKL.

Let me explain the test:

  • From the main thread (MT), I create another thread (T1) to multiply a 4096x4096 matrix.
  • T1 calls cblas_dgemm
  • It's a heavy processing, then I let MT sleep for 1 second
  • Then, I invoke T1 termination
  • MKL crashes 100% of my attempts so far

Would someone know how can I work this around? I mean, to turn cblas_dgemm thread safer.

Thanks.


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>