- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is code for example:
#include "mkl.h"
#include <exception>
#include <iostream>
int main(int argc, char* argv[])
{
int VecLen = 10;
MKL_Complex8 *VecCol = new MKL_Complex8[VecLen];
MKL_Complex8 *VecColRes = new MKL_Complex8[VecLen];
for (int i = 0; i < VecLen; i++)
{
VecCol[i] = { (float)VecLen - i,(float)i };
}
try
{
vcExp(VecLen, VecCol, VecColRes);
}
catch (std::exception& e)
{
std::cout << e.what() << std::endl;
}
return 0;
}
Screenshot with the code in Visual Studio is attached.
Problem is unhandled exception is appeared in line where vcExp() function is using.
Text of the error is "Unhandled exception at 0x00007FFFB952B699 (KernelBase.dll) in Sandbox project.exe: 0xC06D007E: Module not found (parameters: 0x0000003E4A2FF660)." Screenshot of the error is attached.
I had this problem is real project, and it occures only in run-time. I replaced this vcExp() function from MKL with exp function from IPP ippsExp_32fc_A24(). And it worked. But then i got same problem in this real project but in line with DftiCommitDescriptor() function from MKL. Of course i can replace all MKL functions with IPP functions, but i want to figure out why is that happening.
I use Community Version of Visual Studio 2022 and latest version of MKL. Please help me to find out what is wrong with MKL here! Thank you in advance!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also what can be important. The real project with all MKL functions works correctly on computer, where program was originally writed. But when executable file is build and dragged on another computer with all needed DLLs the error occured. Can it be because of some OS difference or maybe CPU difference? Please give me any thoughts. OS on both of computers is Windows 10 pro. CPU on PC where programm was originally made is Intel Core i7-6700K, and other PC has Intel Core i9-14900KF.
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
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