- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Resolved!
Updated from 2018.3 to 2019.4 and the crash doesn't happen anymore!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
could you give us the example of the code we could compile and reproduce?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Resolved!
Updated from 2018.3 to 2019.4 and the crash doesn't happen anymore!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page