Hello Everyone,
I am trying to build a Windows DLL that contains code that does offload to MIC. I managed to compile the DLL (and I see that in my output directory a file called <dll-name>MIC.out has also been created). The DLL is consumed from an executable that dynamically loads the library at runtime, looks up the necessary API, and calls it. The problem is that I get the following error when I run the application:
offload error: cannot find offload entry ...
after which the process just exits (the behavior I would like to have some control over, but that is a separate question).
I can successfully run the offload samples (from the Intel C++ Composer's installation), but those are console applications and I am wondering if that has something to do with the problem. All compiler/linker switches are the same between the two (as far as I can assess).
Btw, I initially had the code that does MIC offload in a static library that the DLL was linking against (and I did see the <lib-name>MIC.a being created at compile time. I had the same issue when running the application.
Can anyone please advice me on what I am missing here?
Thank you.