MKL init when static linking MKL

1.3k Views Asked by At

I know that when you statically link against IPP one should call ippInit() before using any IPP's function. Do you have to do the same when linking statically against MKL ? If so what is the function name to init MKL ?

2

There are 2 best solutions below

0
On

regarding to IPP - actually, since the last two versions, you don't need to call IppInit function. IPP dispatches the code automatically.

0
On

No, you shouldn't need to call a function like that to initialize MKL. Simply including the header, and then calling the MKL function(s) that you require should be enough.

If you're still struggling to get the static linking to work correctly, look here to get the compiler and linker to work correctly. Good luck!