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

VML function crashes on Windowns 7 if linked through mkl_rt

$
0
0

Hello,

We got random crashes with VML functions, e.g., zsqrt(), if the following conditions are ALL met:

1) on a Windowns 7 machine
2) MKL is linked through single dynamic library mkl_rt.lib
3) The VML function is called within an Intel TBB parallel session, e.g., parallel_for()
4) TBB is using more than one (1) thread

The crash occurs no matter which library mkl_rt specify to use (intel threading, sequential or tbb threading).

A piece of code that can be used to describe what we are doing is attached. In the testing, we wrote a batch file to run the program repeatedly to catch the random crash. Normally we would catch the crash within 100 times of running.

We tried linking directly with mkl_intel_threading_dll.lib, mkl_sequential_dll.lib or mkl_tbb_threading_dll.lib, all are fine with no crash. The problem seems to be with linking through mkl_rt alone.

We use the most updated MKL 2018.3.210

Does anyone run into the same issue? Many thanks for any input/response.

Ling

AttachmentSize
Downloadtext/x-c++srcTBBwVML1.cpp1.84 KB

Viewing all articles
Browse latest Browse all 2652

Trending Articles



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