Intel® oneAPI Math Kernel Library (oneMKL) allows developers to integrate high-performance algorithms into their Microsoft Windows* Applications, including Desktop Applications and applications built using WinUI* and Windows App SDK*.
Linking oneMKL with Desktop Applications is covered by the oneMKL Developer Guide for Windows*, so this guide will focus on integration with WinUI* and Windows App SDK* development.
WinUI* and Windows APP SDK* are modern application development frameworks from Microsoft* that use the same Visual Studio* C/C++ runtime as the Desktop apps while also providing tailored libraries and features for modern UI and app development.
The best way to integrate oneMKL into your modern Windows* apps is via the NuGet package manager. In Visual Studio*, go to the “Tools” menu and select NuGet Package Manager->Manage Package NuGet packages for this solution. In the opened window, go to the “Browse” section and search for “intelmkl” to find all variants of Intel® oneMKL packages from the source, “nuget.org”.
To choose the right package, you need to first decide if you want to use static or dynamic linking. In case of dynamic linking, if your app includes “mkl.h” or “mkl.hpp”, choose the “devel” package that also installs the headers.
Next, click on the setting icon in the top right corner of the NuGet installer window:

This will open the NuGet Package Manager Options. Select “Package Source Mapping” and add a new mapping with the pattern, “intel*” and source as nuget.org. This will ensure that the oneMKL packages are correctly mapped to your project. Restart Visual Studio* for these settings to take effect.
Right Click on your solution and open “Properties”. You should see a new section for the intelmkl package. Under General, select your preferred linking type, threading and interface layer options:

Click Apply, then OK.
Now you can “Rebuild” your solution and run it. If your code includes any oneMKL header files and performs any oneMKL API calls, they will be linked automatically by Visual Studio*.