Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

dynamic load/free library who used mkl will result in the main program crash

$
0
0

Dear Team,

Hope you are doing well! I has a  dynamic library sample used some simple MKL code, if  load/free this dynamic library in the main program by LoadLibrary/FreeLibrary 542 times then the maim program will crashed and exited, but if I link the dynamic library with its export .lib everything is going OK. I'm confused is there limitations for the trial MKL, could you please confirm it? The tested studio is "parallel_studio_xe_2016_update2_setup.exe" and vs2010.

The dynamic library's source code and main program's source code could be find in the attahced "purl mkl.rar":
build.bat -- script to build the sample
Example_with_exporttable.cpp -- source code that use the dynamic library with its export library (no problem)
Example_with_dynamic_load_free.cpp -- source code that use LoadLibrary/FreeLibrary to call the dynamic library (crash)

 Downloadapplication/rarpurl mkl.rar


Viewing all articles
Browse latest Browse all 3005

Trending Articles



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